next up previous contents
Next: using the GNU compilers Up: User Guide: Quickstart Previous: Logging in   Contents


Compiling an MPI code under SCore

The SCore system contains its own compiler and linker wrappers which sit on top of the f77,f90,C, and C++ compilers. You should always use these to compile an MPI code rather than f77, g77, cc etc. The SCore compilers/ linkers will always select the correct MPI header files and libraries depending on which compiler you use.

NOTE - you do not need to explicitly link against the mpi library, SCore contains multiple versions and will use the correct one.

NOTE - you should make sure your code includes the mpi header files WITHOUT a path. The SCore compiler will locate the correct header files.

NOTE - do NOT copy mpi header files into your current directory. SCore maintains header files for multiple compilers and MPI devices. SCore will use the correct ones. Using incorrect header files will probably cause your code to crash or even worse give you the wrong answers !!



Subsections
next up previous contents
Next: using the GNU compilers Up: User Guide: Quickstart Previous: Logging in   Contents
2004-06-17