Replies: 3 comments 2 replies
|
This block of code works very instable on Singularity/LUSTRE: This is a part of output: Probably, it's a good point to switch os.system to subprocess / popen here. @batukav I saw you took already issue for subprocess, maybe you could start from this place? Then I could proceed recomputing... |
0 replies
|
I’ll look into this, but won’t happen before 05.08.
Alexey Nesterenko ***@***.***> schrieb am Do. 24. Juli 2025
um 20:04:
… This block of code works very instable on Singularity/LUSTRE:
os.system('rm foo.ndx')
os.system(f'echo "a {last_atom}\nq" | {makendx_cmd} -f {tpr_name} '
f'-o foo.ndx')
os.system("tail -n1 foo.ndx | awk '{print $NF}'")
os.system('echo "[ centralAtom ]" >> foo.ndx')
os.system("tail -n2 foo.ndx | head -n1 | awk '{print $NF}' >> foo.ndx")
This is a part of output:
Group 3 ( POT) has 35 elements
Group 4 ( CLA) has 35 elements
Group 5 ( TIP3) has 40521 elements
Group 6 ( C1) has 300 elements
Select a group:
-------------------------------------------------------
Program: gmx trjconv, version 2025.2-conda_forge
Source file: src/gromacs/topology/index.cpp (line 873)
Fatal error:
Cannot read from input
For more information and tips for troubleshooting, please check the GROMACS
website at https://manual.gromacs.org/current/user-guide/run-time-errors.html
-------------------------------------------------------
Note that major changes are planned in future for trjconv, to improve usability and utility.
Select group for centering
Error: No such group 'centralAtom'
Selected 0: 'System'
Select group for output
Probably, it's a good point to switch os.system to subprocess / popen
here. @batukav <https://github.com/batukav> I saw you took already issue
for subprocess, maybe you could start from this place? Then I could proceed
recomputing...
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB47SNLNJPRXJMPJO4IMEJT3KEN4RAVCNFSM6AAAAACCJLGRXCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOBYGA4TSNI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
1 reply
|
This block specifically has problems being run on singularity container. I think we could get rid of these trains of pipes here and work with |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I started to recompute MAICoS on LUMI. There are some points.
All reactions