source: palm/trunk/INSTALL/RUN.cmd.mpirun @ 4385

Last change on this file since 4385 was 2850, checked in by knoop, 7 years ago

Refactoring of the palm_simple_ build and run scripts

File size: 544 bytes
Line 
1#!/usr/bin/env bash
2# The content of this file is included in the palm_simple_run
3# Please adjust execution parameters as required for your system.
4# PALM needs to be called as: ./palm  < runfile_atmos
5# The following environment variables can be used:
6# ${mpi_ranks} is the total number of mpi ranks (option -p)
7# ${mpi_ranks_per_node} is the total number of mpi ranks per node (option -n)
8# ${openmp_threads} is the number of OpenMP threads (option -t)
9
10export OMP_NUM_THREADS=${openmp_threads}
11mpirun -n ${mpi_ranks}  ./palm  < runfile_atmos
Note: See TracBrowser for help on using the repository browser.