Skip to content

Commit

Permalink
Merge pull request #8 from kvrigor/main
Browse files Browse the repository at this point in the history
Automatically set FC to mpifort if FC is not set
  • Loading branch information
tclune authored Jun 27, 2022
2 parents a5c2fd1 + afbb3f8 commit a2816f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MPI/build_with_make_and_run.x
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

make clean

make all
if [[ ! $FC || -z $FC || $FC == " " ]]; then
FC=mpifort make all
else
make all
fi

mpirun -np 4 ./tests/test_halo

Expand Down

0 comments on commit a2816f2

Please sign in to comment.