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

Code not running in HPC cluster #217

Open
suman-phy opened this issue Feb 22, 2019 · 3 comments
Open

Code not running in HPC cluster #217

suman-phy opened this issue Feb 22, 2019 · 3 comments

Comments

@suman-phy
Copy link

When I tried to run the code in serial in a HPC cluster, it's running quite well. However, when I tried to run it in mpi mode, it was simply not running. Can you help me about any specific reason?

@astrofrog
Copy link
Contributor

How did you install Hyperion? How are you running it with MPI? And are you getting any error messages?

@suman-phy
Copy link
Author

I have tried installing hyperion using both the commands in the following link:

https://anaconda.org/conda-forge/hyperion

I set the code for arbitrary model with a spherical source and grid with a self defined density. For mpi running, I've tried both
m.run('model.rtout', mpi=True, n_processes=<n_processes>) & mpiexec -n <n_processes> hyperion_sph_mpi model.rtin model.rtout.

The code is running fine under mpi mode with 4 processses in my desktop. However, in HPC only serial mode is running. While running under mpi mode in HPC, there is no error message or anything in the out file, however the status shows that program is running. Below is a script file I tried in HPC

#!/bin/tcsh
#SBATCH --ntasks-per-node=32
mpiexec -n 32 hyperion_sph_mpi a.rtin a.rtout

I couldn't figure out if I'm doing anything wrong. Also, I'm new to HPC. Kindly help me.

@astrofrog
Copy link
Contributor

@suman-phy - sorry for my delayed response! I'm also not sure what could be happening, but this might be an issue specific to your HPC set-up. Have you tried asking the administrators of the cluster?

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

2 participants