Translations:R/34/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "<source lang="bash"> #!/bin/bash #SBATCH --account=def-ppomorsk # replace this with your own account #SBATCH --ntasks=5 # number of MPI processes #SBATCH --m...")
 
No edit summary
Line 1: Line 1:
<source lang="bash">
<source lang="bash">
#!/bin/bash
#!/bin/bash
#SBATCH --account=def-ppomorsk # replace this with your own account
#SBATCH --account=def-ppomorsk # replace this with your own account
#SBATCH --ntasks=5              # number of MPI processes
#SBATCH --ntasks=5              # number of MPI processes
#SBATCH --mem-per-cpu=2048M      # memory; default unit is megabytes
#SBATCH --mem-per-cpu=2048M      # memory; default unit is megabytes
#SBATCH --time=0-00:15          # time (DD-HH:MM)
#SBATCH --time=0-00:15          # time (DD-HH:MM)
module load r/3.4.0
module load r/3.4.0
module load openmpi/1.10.7
module load openmpi/1.10.7
export R_LIBS=~/local/R_libs/
export R_LIBS=~/local/R_libs/
mpirun -np 1 R CMD BATCH test.R test.txt
mpirun -np 1 R CMD BATCH test.R test.txt
</source>
</source>

Revision as of 15:27, 20 March 2018

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (R)
2. Copy the following content in a job submission script called ''job.sh'':
#!/bin/bash
#SBATCH --account=def-ppomorsk # replace this with your own account
#SBATCH --ntasks=5               # number of MPI processes
#SBATCH --mem-per-cpu=2048M      # memory; default unit is megabytes
#SBATCH --time=0-00:15           # time (DD-HH:MM)
module load r/3.4.0
module load openmpi/1.10.7
export R_LIBS=~/local/R_libs/
mpirun -np 1 R CMD BATCH test.R test.txt