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

Update for mpich 4 #12

Open
jchodera opened this issue Mar 26, 2022 · 1 comment
Open

Update for mpich 4 #12

jchodera opened this issue Mar 26, 2022 · 1 comment

Comments

@jchodera
Copy link
Member

Running with mpich 4 gives this error:

$ build_mpirun_configfile --configfilepath configfile_apo --hostfilepath hostfile_apo "python run_multistate_sampler.py"
Detected MPICH version 4! 
Your host and configfiles creation will still be attempted, but you may have problems as build_mpirun_configfile only builds MPICH3 compatible files.
Traceback (most recent call last):
  File "/lila/home/chodera/miniconda/envs/openmmtools/bin/build_mpirun_configfile", line 10, in <module>
    sys.exit(main())
  File "/lila/home/chodera/miniconda/envs/openmmtools/lib/python3.10/site-packages/clusterutils/build_mpirun_configfile.py", line 249, in main
    manager.write_configfile(exec_args, configfile_output_filepath=args.configfilepath,
  File "/lila/home/chodera/miniconda/envs/openmmtools/lib/python3.10/site-packages/clusterutils/build_mpirun_configfile.py", line 96, in write_configfile
    for host, cvd in self.extract_host_cuda_visible_devs():
  File "/lila/home/chodera/miniconda/envs/openmmtools/lib/python3.10/site-packages/clusterutils/build_mpirun_configfile.py", line 194, in extract_host_cuda_visible_devs
    cvd_list.append([host, looped_cvd[n]])
IndexError: list index out of range
@jchodera
Copy link
Member Author

This issue is likely unrelated to mpich4---it appears that CUDA_VISIBLE_DEVICES is not being properly set.

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

1 participant