Running a job in a HPC cluster called Cirrus


*  It is necessary to have the following files in the same location:

1.- A program (in this case I am going to use the hello world in C)2.- A PBS script called “hello world” where it is going to be defined some parameters 

The procedure

1.- Load the modules

module load mpt

module load intel-compilers-17

2.- Compile your C code

mpicc -cc=icc -o hello hello.c

2.- Launch a job

You might check the queues using the command qstat -q, or you might run it in general:If you prefer a special queue, run   qsub -q [name_of_the_queue] [name_of_pbs].  In this case, it was used the test queue as well as the queue set by default.  You can check your own jobs launched by using the qstat command as follow:

Checking the results

After the job has been done, the status ‘S’ will change from ‘Q’ to ‘R’. Then you can see the output in the file helloworld.o349767. In case of error, a file helloworld.e349767 will contain the details.

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, Magíster en Computación de Alto Rendimiento de la Universidad de Edimburgo, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. Leader of LinuXatUNI Community, HPC Software Specialist at UKAEA, and reviewer of the Technological Magazine of ESPOL-RTE, and volunteering Linux training for MINSA Peru... a simple mortal, just like you!
This entry was posted in τεχνολογια :: Technology. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s