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

Implementation on HPC (probably with NFS) #37

Closed
rahulgpuri opened this issue Jan 5, 2024 · 3 comments
Closed

Implementation on HPC (probably with NFS) #37

rahulgpuri opened this issue Jan 5, 2024 · 3 comments
Assignees

Comments

@rahulgpuri
Copy link

fcntl.lockf ( dump, fcntl.LOCK_EX )
OSError: [Errno 38] Function not implemented

used in smodels/experiment/databaseObj.py

This error occurs when I try to run SModelS on a High-performance computing facility (HPC). A little research suggested that certain filesystems, such as NFS, do not allow its implementation.

@WolfgangWaltenberger
Copy link
Member

Nice catch, thanks, will fix it in the next release. The lock is a protection against parallel downloads of the smodels database. So, interim, you should be fine with just commenting it out.

@WolfgangWaltenberger WolfgangWaltenberger self-assigned this Jan 8, 2024
@rahulgpuri
Copy link
Author

Thank you for getting back to me. I will try commenting it.

@WolfgangWaltenberger
Copy link
Member

for the records I fixed it for v3 -- not for v2 -- in locking, merged into develop. will close because fixed

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

No branches or pull requests

2 participants