GithubHelp home page GithubHelp logo

Comments (3)

mikeboyle321 avatar mikeboyle321 commented on August 16, 2024 1

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.

giovannidoni avatar giovannidoni commented on August 16, 2024 1

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.

mikeboyle321 avatar mikeboyle321 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.