-
Notifications
You must be signed in to change notification settings - Fork 131
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
error on running HiFiLES on mpicluster #114
Comments
Hi:
The truth is that I have defined HIFILES_HOME in .bashrc file and source it on node00. And the other nodes can access .bashrc by the NFS share system. Best regards! |
It is certainly strange. Can you ensure that at each node when you type
you get HiFiLES's main directory? The ultimate check would be to modify the mpi_hello program you created before and include the lines
in |
Hi: Best regards! |
A workaround is to go to that line in Global.cpp and write there the path I think the nodes are not configured to share the bashrc file, but I don't
|
Hi Yue/Lopez, I am experiencing similar kind of problem. I tried running HiFiLES on the flat plate testcase. When I do mpirun -n 1 and mpirun -n 2, the code works fine. However, when I do mpirun -n 3, the solver crashes. I have attached the screenshots below for your reference: Could you please help me with this issue. Regards, |
Hello! I'm also facing this exact issue of env variable HIFILES_HOME error from cubature_1d.cpp when the testcase is run in cluster/queue Please, help! The same testcase however runs without any hassle when it is run using terminal, at the head node. I have even tried adding a line before the if HIFILES_DIR==NULL conditional statement in the cubature_1d.cpp and rebuilding the code! Essentially, the changes I made are adding the following two lines in the cubature_1d.cpp, before the if() statement for HIFILES_DIR const char* HIFILES_DIR = getenv("HIFILES_HOME"); The output shows (null) for every processor in the mpirun, before the error message is printed. So the strange part here, is that the HIFILES_DIR is tricked to be NULL when submitted to the job queue of cluster. However, the same job - testcase runs in the head node even after this re-build trouble free. Please help! |
A Follow up - I now manually set the path of HiFiLES_solver/ to the HIFILES_DIR character in the cubature_1d.cpp, before the if() statement check. And re-built the code once again! Now the code runs in the main queue as well! I am happy that now I am able to run in the main queue of the cluster as well as the head node. But it is unclear as to why only when submitted to queue, the default cubature_1d.cpp file throws the Fatal error. Anyways, thanks a ton! Ramkumar |
Hi:
I set up a mpicluster follow https://help.ubuntu.com/community/MpichCluster .
(There was a difference that I used openmpi 1.6.5 to instead of mpich2 in the process.)
The mpicluster works well. I can get something like this:
Myhostfile is defined as :
However when I try to execute HiFiLES as the same way, I can not run it. The information shows below:
I can run HiFiLES at each node sepatately like this:
or ssh to node01 and run HiFiLES like this:
Do you have any idea with running HiFiLES on three nodes together?
Best regards!
Yue
The text was updated successfully, but these errors were encountered: