This page introduces how to execute a serial program on CPU node, OCTOPUS.
"Compile" mean generating an executable module for a computing system from your source file of programs. You can use Intel compiler or GNU compiler or PGI compiler for programing language FORTRAN/C/C++ on OCTOPUS. Please be aware that a command name differs according to the language used.
For instance, if you compile a FORTRAN program "sample.f90" with Intel compiler, please execute the following command on frontend server.
% ifort sample.f90
If compiler generates "a.out" file without displaying error, compile is a success.
* If compiler displays some error message, please re-check a source code of programs according to the message. a common mistake is a spelling mistake.
All user must use our computing system with "batch processing". "batch processing" means to require execution of a program with submitting job-script. After submitting job-script, calculate may not start soon and you may wait for ages because our computing system is crowded with many other users. On our system, "scheduler" system manages a wait queue for execution of programs.
- * We bar execution a program on frontend server with interactive processing. Please execute with batch processing or interactive-batch processing.
The following is an example for job-script executing "a.out" on 1 CPU node, OCTOPUS.
#PBS -q OCTOPUS
#PBS -l elapstim_req=1:00:00
The job-script require just executing a program. However, it is available to require "send mail at the end of executing job" or "change a name of output file" with specifying options. Please see the following page for a detail of job-script and options.
how to write job-script
3. execute program
Please submit a job-script to our computing system for execution program. The following is an example for submitting job-script. On the example, a name of a job-script file is "nqs.sh".
% qsub nqs.sh
You can check a status of your submitted job with qstat command or sstat command. Please see the following page for a detail.
our computing system transfers a result of your calculation to frontend-server when your calculation finished. our system output a result as a standard output file if you did not specify an output file on job-script. A standard output file is "[job-script name].o.[request ID]" and a standard error output file is "[job-script name].e.[request ID]".
The above is how to execute a serial program. Please check FAQ page or inquiry us if you have any question.