Results 1 to 2 of 2
Hay
I try to run a program on a supercomputer. Unfortunately mpicc is not available on this PC. My program is written in C using MPI. The administrator told me ...
- 05-19-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 5
icc instead mpicc
Hay
I try to run a program on a supercomputer. Unfortunately mpicc is not available on this PC. My program is written in C using MPI. The administrator told me to use icc instead. If I do so, the compiler tells me that all the MPI commands are not known like
I loaded the module for mpi. A module mpich is not available...Code:main.o: In function `main': main.c:(.text+0x62): undefined reference to `MPI_Init' main.c:(.text+0x92): undefined reference to `MPI_Comm_rank' main.c:(.text+0xc2): undefined reference to `MPI_Comm_size' ...
I did not write the program I am just using it and I am not really well known in this thinks. I had to load fftw and gsl as well and tell the makefile the appropriate path (what seems to work...).
Can anybody help me?
Thank you very much
florian
- 05-20-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can get MPI for just about any Linux distribution, or get the source and build it for any. For example, OpenMPI is listed in the RHEL base repository.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote