Skip to content
Curtin University

Running GULP

To run an input file called inputfile under Unix/Linux/MacOSX use the following commands:

If you want to see the output come to the screen, type:
gulp < inputfile
If you want to send the output to a file called outputfile, type:
gulp < inputfile > outputfile
If you want to send the output to a file and see it on the screen at the same time, type:
gulp < inputfile | tee outputfile
If you want to run GULP in parallel on 4 processors under MPI, type:
mpirun -np 4 gulp < inputfile > outputfile
NB: If running on large numbers of MPI processors and your input file is inputfile.gin then use:
mpirun -np 4 gulp inputfile