Find the answer to your Linux question:
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 ...
  1. #1
    Just 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
    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 loaded the module for mpi. A module mpich is not available...
    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

  2. #2
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...