Comments (3)
The issue is in line 1440 of swarmCG.py
Incorrect reference of gmx_cmd as object of the input arguments ns:
gmx_cmd = f"mpirun -np {ns.mpi_tasks} {ns.gmx_cmd}"
Correcting to
gmx_cmd = f"mpirun -np {ns.mpi_tasks} {gmx_cmd}"
resolves the issue and allows MPI gmx calls.
I hope that helps.
Cheers,
Mike Boyle
from swarm-cg.
Hi Mike, thank you very much for you input. I am in the process of refactoring a bit the code starting from the simulation execution. I am going to integrate this fix asap in the new implementation! Cheers
from swarm-cg.
A quick update:
I retried running everything this morning without the mpi commands. specifically, I replaced:
"scg_optimize -in_dir exp_01/ -gmx gmx_mpi -mpi 3 -out_dir angle_function_2/"
with
"scg_optimize -in_dir exp_01/ -gmx gmx -out_dir angle_function_2/"
It is running without issues now, and looks like it is utilizing all the gpus and cpus available. So maybe the error I encountered is related to the mpi argument parsing?
I hope that helps.
Cheers,
Mike
P.S. This program is awesome!! Thank you for writing and publishing it! I can't wait to see the results of the first run.
from swarm-cg.
Related Issues (12)
- VirtualSites are silently dropped from itp HOT 4
- not listed on the MDAnalysis "Used by" page HOT 1
- Extended Usage Request: Adding GROMACS angle function 10 - Restriced Bending Angle Potential HOT 1
- scg_optimize fails on WSL due to permission denied HOT 1
- Constraints optimization HOT 3
- Swarm-CG & Gromacs 2021
- [TypeError: center() got an unexpected keyword argument 'pbc'] HOT 7
- "CG ITP file constraints have been grouped, but constraints group 1 holds lines that have different parameters" HOT 1
- md run failing
- MD run failed(unstable simulation was killed, with unstable = NOT writing in log file for 60 sec)
- Newer gromacs version than 2019 have a different tpr and are not supported? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarm-cg.