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

enhance Rosetta easyblock to build with serialization support #2843

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

alikerr
Copy link

@alikerr 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(':')
Copy link

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(':')
Copy link

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 '# '

Copy link
Author

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

Comment on lines 252 to 253
else:
extract_and_copy('rosetta_database%s')
Copy link
Member

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')

Copy link
Author

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

@branfosj branfosj added this to the 4.x milestone Dec 10, 2022
" '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),
Copy link
Member

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?

@boegel boegel changed the title Rosetta database+compile with serialization enhance Rosetta easyblock to build with serialization support Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants