-
Notifications
You must be signed in to change notification settings - Fork 651
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
Nextflow will hang during installation #995
Comments
Just using wget is not supposed to work, could you try:
or
|
I actually used ( from the main website ): neither worked. |
I see. If so please export the variable |
Any feedback on this? |
Same issue...not sure this will be helpful:
|
What instead if you download the package |
Same issue:
and
[hangs] |
Too bad. Launch it, when it hang put it background, use the |
./nextflow-19.01.0-edge-all
|
Well, it looks that problem is that it hangs while try to create a file lock. Frankly I've never seen this before. What file system are you using? |
Yes, that's what I pointed out at the start. Home directories are often served via NFS on a cluster and file locking won't work ( /u1 nfs rw,tcp,vers=3,hard,intr,exec,bg 0 0 ). What I was pointing out is this should be recognized by the installer and error issued so the user has a clue as to what went wrong. |
I have no idea how this could be recognised, any suggestion? |
I would put a timeout on the attempt to acquire the lock. I assume the lock requirement has more to do with running Nextflow and less to do with the installation process. Therfore, another approach would be to not perform the tasks that require file locking during the installation phase. -R |
This is a good idea. The point is that this is not strictly a NF issue because the hang is caused by Capsule, the package manager used by handle NF deps. I've opened an issue in that project. puniverse/capsule#131 |
Also a possible workaround consists on setting the Capsule cache to a local directory using the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug report
Nextflow will hang during installation:
% cd /nfs/home/foo
% wget https://get.nextflow.io | bash
It will initially state that it's working and then it will just hang. It appears that the requirement that it operate on a fileystem with file-locking capabilities is getting in the way. While this may be apparent to seasoned users the script provides no feedback on this nor appropriately times-out with an error.
Expected behavior and actual behavior
Expected: Return with an error and/or a message indicating it's necessary to set NXF_HOME to a local or file-locking-capable fileystem.
Steps to reproduce the problem
See above
Program output
None...just hangs with the process:
/usr/bin/java -Dfile.encoding=UTF-8 -noverify -Dcapsule.trampoline -Dcapsule.java.cmd=/usr/bin/java -Djava.awt.headless=true -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -D3 -jar /home/rhubley/.nextflow/framework/18.10.1/nextflow-18.10.1-one.jar
doing nothing ( as it waits perhaps for a file lock that will never come )
Environment
Additional context
The text was updated successfully, but these errors were encountered: