I start 3 programs with mpirun:
- prog1: fortran program
- prog2: C++ program
- prog3: C++ program which is using mkl of intel
prog3 uses these options:
-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -openmp -lpthread
When I start the 3 programs with mpirun of intel (intel cluster studio 2011) it hangs...then I have to kill the 3 programs.
When I'm disable the use of MKL in the prog3, the mpirun and the 3 programs are running without problem.
When I enable the use of MKL in the prog3 without -mt_mpi option the program alone "hang".
When I enable the use of MKL in the prog3 with -mt_mpi option the program alone runs.
When I enable the use of MKL in the prog3 with -mt_mpi option and starts the 3 programs (prog1, prog2, prog3) with mpirun, it "hang"
The use of the -mt_mpi option in the other programs doesn't help. The 2 others programs do not use openmp.
I need help, I don't have idea anymore ;)