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
enhance Rosetta easyblock to build with serialization support #2843
base: develop
Are you sure you want to change the base?
Conversation
alikerr
commented
Dec 8, 2022
- Fix for database in the version 3.13.
- Adding the option to compile with mpi,seriallization using a flag in the easyconfig: serialization=True or False
- Fix for database in the version 3.13. - Adding the option to compile with mpi,seriallization using a flag in the easyconfig: serialization=True or False
cpaths = cpaths.split(':') if cpaths else [] | ||
paths = os.getenv('PATH').split(':') | ||
#ld_library_paths = os.getenv('LD_LIBRARY_PATH').split(':') | ||
cpaths = os.getenv('CPATH').split(':') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local variable 'cpaths' is assigned to but never used
cpaths = os.getenv('CPATH') | ||
cpaths = cpaths.split(':') if cpaths else [] | ||
paths = os.getenv('PATH').split(':') | ||
#ld_library_paths = os.getenv('LD_LIBRARY_PATH').split(':') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block comment should start with '# '
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was fixed in the previous PR #2744
easybuild/easyblocks/r/rosetta.py
Outdated
else: | ||
extract_and_copy('rosetta_database%s') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect this is needed for older versions. If this is no longer useful for 3.13, then we should change this to a version check, so:
elif LooseVersion(self.version) < LooseVersion("3.13"):
extract_and_copy('rosetta_database%s')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I uploaded a wrong version of the file. I have just updated the right file on my git repo 73dc29d
" 'ENV': {", | ||
" 'INTEL_LICENSE_FILE': '%s'," % os.getenv('INTEL_LICENSE_FILE'), # Intel license file | ||
" 'PATH': %s," % str(paths), | ||
" 'LD_LIBRARY_PATH': %s," % str(ld_library_paths), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alikerr These look like unintended changes to the exiting easyblock?