Skip to content

Commit

Permalink
Added environment and exec files for pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkho committed Oct 25, 2024
1 parent 27c83f4 commit 4214551
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/env/env.PIXI
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The PIXI platform assumes that you have installed pixi and run the
# appropriate commands to have the virtual environment set up well.
19 changes: 19 additions & 0 deletions platform/exec/exec.PIXI
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
# GACODE Parallel execution script (PIXI)
#
# NOTES:
# Used mpich2-1.0.1, so use mpirun rather than mpiexec

simdir=${1}
nmpi=${2}
exec=${3}
nomp=${4}
numa=${5}
mpinuma=${6}

echo $simdir

cd $simdir

mpirun -env OMP_NUM_THREADS $nomp -np $nmpi $exec

0 comments on commit 4214551

Please sign in to comment.