Skip to content

Commit

Permalink
Working M3 brew
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloprf committed Mar 13, 2024
1 parent 98ce7db commit f6106f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
11 changes: 3 additions & 8 deletions platform/exec/exec.OSX_SONOMA
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh
# GACODE Parallel execution script (OSX_MONTEREY)
#
# NOTES:
# Used openmpi, so use mpirun rather than mpiexec
# GACODE Parallel execution script (OSX_MOUNTAINLION)

simdir=${1}
nmpi=${2}
Expand All @@ -11,8 +8,6 @@ nomp=${4}
numa=${5}
mpinuma=${6}

echo $simdir

cd $simdir
export OMP_NUM_THREADS=$nomp
mpirun -np $nmpi $exec
mpirun -env OMP_NUM_THREADS $nomp -np $nmpi $exec

8 changes: 2 additions & 6 deletions platform/exec/exec.OSX_SONOMA_M3
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh
# GACODE Parallel execution script (OSX_MONTEREY)
#
# NOTES:
# Used openmpi, so use mpirun rather than mpiexec
# GACODE Parallel execution script (OSX_MOUNTAINLION)

simdir=${1}
nmpi=${2}
Expand All @@ -11,8 +8,7 @@ nomp=${4}
numa=${5}
mpinuma=${6}

echo $simdir
export OMP_NUM_THREADS=$nomp

cd $simdir
export OMP_NUM_THREADS=$nomp
mpirun -np $nmpi $exec

0 comments on commit f6106f9

Please sign in to comment.