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

Test simulation issue #88

Open
JihoonKimKorea opened this issue Dec 5, 2024 · 6 comments
Open

Test simulation issue #88

JihoonKimKorea opened this issue Dec 5, 2024 · 6 comments

Comments

@JihoonKimKorea
Copy link

Hi,

I am trying to run an example simulation after compilation.

It seems there is an issue with ParMETIS related to MPI segmentation.

I would greatly appreciate it if someone could guide me on how to resolve this issue.

I've attached the error message below.

ucns3d_p will run on 2 MPI tasks.
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
i read the bleed BC
RESTARTING 0 0.0000000000000000 0

                    ParMETIS Initiated                               

[kucfd-System:909616] *** An error occurred in MPI_Comm_rank
[kucfd-System:909616] *** reported by process [1937178625,0]
[kucfd-System:909616] *** on communicator MPI_COMM_WORLD
[kucfd-System:909616] *** MPI_ERR_COMM: invalid communicator
[kucfd-System:909616] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[kucfd-System:909616] *** and potentially your MPI job)
[kucfd-System:909609] 1 more process has sent help message help-mpi-errors.txt / mpi_errors_are_fatal
[kucfd-System:909609] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

@TakisCFD
Copy link
Collaborator

TakisCFD commented Dec 6, 2024

can you share some more info:

  1. platform used
  2. compiled natively or through docker
  3. UCNS3D.DAT file
  4. OMP_NUM_THREADS= ?

@JihoonKimKorea
Copy link
Author

Thanks for reply Takis,

The operating system is Ubuntu 22.04 and tried compilation from source code, not using docker.
UCNS3D.DAT file is from TEST1 KHI example.
I just exported OMP_NUM_THREADS=2

I would greatly appreciate it if you could provide your comments on it.

@JihoonKimKorea
Copy link
Author

Here's the error message and files in working directory after getting error.
image

image

@TakisCFD
Copy link
Collaborator

TakisCFD commented Dec 6, 2024

I assume that there might be an issue with the parmetis since this is when the code crashes.
Please check the following:

  1. If you are running a 2D case do you have the 2D option in the UCNS3D.DAT file?
  2. check the chmod of ucns3d_p since the authorisation required message might indicate something related to that?
  3. Check what compilers combo you are using (Gnu with OpenMPI/MPICH should work, Intel fortran with Intel MPI should work, GNU with CrayMPI/HPE mpi should work, however when switching with intel fortran and openmpi or gnu fortran with intel mpi you might get these issue.

@JihoonKimKorea
Copy link
Author

  1. Yes, I have 2D option in the UCNS3D.DAT file.
  2. When I try to run the code on Ubuntu machine, I have chmod -X ./ucns3d_p command in the shell script.
  3. I'm using gnu compiler with OpenMPI.

I tried 3d example case as well, but the same error happens.

I'm curious about where the error comes. Is the error from compilation with ParMETIS?

@dudugang
Copy link

I got the same error with Gnu compiler and OpenMPI

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

3 participants