Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easyblocks for R extenison patching (including extract) and Extesnion Rm... #435

Merged

Conversation

hajgato
Copy link
Collaborator

@hajgato hajgato commented Jul 8, 2014

...pi Intel MPI support (if version >= 0.6-4)

… Rmpi Intel MPI support (if version >= 0.6-4)
@hpcugentbot
Copy link
Contributor

Automatic reply from Jenkins: Can I test this?

@wpoely86
Copy link
Member

ok to test

if self.patches:
cmd = "R CMD INSTALL %s %s %s %s --no-clean-on-error" % (self.ext_dir, confargs, confvars, prefix)
else:
cmd = "R CMD INSTALL %s %s %s %s --no-clean-on-error" % (self.ext_src, confargs, confvars, prefix)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the cmd value is exactly the same in both cases?!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look at more close!
cmd = "R CMD INSTALL %s %s %s %s --no-clean-on-error" % (self.ext_dir, confargs, confvars, prefix)
and
cmd = "R CMD INSTALL %s %s %s %s --no-clean-on-error" % (self.ext_src, confargs, confvars, prefix)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe split up the command and the tuple then? The cmd string itself is the same?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, exactly. Suggestion:

if self.patches:
    loc = self.ext_dir
else:
    loc = self.ext_src
cmd = "R CMD INSTALL %s %s %s %s --no-clean-on-error" % (loc, confargs, confvars, prefix)

@hajgato
Copy link
Collaborator Author

hajgato commented Aug 1, 2014

Updated with comments.

@@ -46,12 +47,19 @@ def run(self):
toolchain.MPI_TYPE_MPICH: "MPICH",
#toolchain.MPI_TYPE_LAM: "LAM", # no support for LAM yet
}
# type of MPI
# MPI_TYPE does not distinguish between MPICH and MPI, which is why we also check mpi_family()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should say "MPICH and Intel MPI"

@hajgato
Copy link
Collaborator Author

hajgato commented Aug 4, 2014

Typos and style corrected

Balázs Hajgató added 2 commits September 10, 2014 09:43
Author name added
Author added
@boegel
Copy link
Member

boegel commented Sep 10, 2014

Tested with easybuilders/easybuild-easyconfigs#1077, working great, so going in. Thanks @hajgato!

boegel added a commit that referenced this pull request Sep 10, 2014
…ntel-2014b

Easyblocks for R extenison patching (including extract) and Extesnion Rm...
@boegel boegel merged commit 40fb734 into easybuilders:develop Sep 10, 2014
@hajgato hajgato deleted the easyblocks_for_contrib_R-3.1.0-intel-2014b branch October 16, 2014 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants