You are here: Home Resources Computers Historical Computers at PDC Lucidor II How to Compile programs

Compile programs

How to compile programs on Lucidor.

Compiling and running MPI-programs

The following are preliminary instructions in the form of an example on how to run MPI programs on the upgraded Lucidor.

module add mpi

mpicc -o my-program my-program.c

mpirun -n 10 ./my-program