Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github action: disable fortran for Mac OS #144

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/mac_mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- uses: actions/checkout@v4
- name: Set up dependencies
run: |
brew install gcc
which gcc
gcc --version
which gfortran
# brew install gcc
# which gcc
# gcc --version
# which gfortran
brew install automake autoconf libtool m4
- name: Build MPICH
run: |
Expand All @@ -50,10 +50,8 @@ jobs:
--enable-romio \
--with-file-system=ufs \
--with-device=ch3:sock \
CC=gcc \
FC=gfortran \
FFLAGS=-fallow-argument-mismatch \
FCFLAGS=-fallow-argument-mismatch
--disable-fortran \
CC=gcc
make -s LIBTOOLFLAGS=--silent V=1 -j 8 install > qout 2>&1
make -s -j 8 distclean >> qout 2>&1
- name: Build PnetCDF
Expand All @@ -69,6 +67,7 @@ jobs:
--enable-shared \
--enable-thread-safe \
--with-pthread \
--disable-fortran \
--with-mpi=${GITHUB_WORKSPACE}/MPICH \
TESTOUTDIR=${GITHUB_WORKSPACE}/pnetcdf_output
make -j 8 tests
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mac_openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- uses: actions/checkout@v4
- name: Set up dependencies
run: |
brew install gcc
which gcc
gcc --version
which gfortran
# brew install gcc
# which gcc
# gcc --version
# which gfortran
brew install automake autoconf libtool m4
- name: Build OPENMPI
run: |
Expand All @@ -52,9 +52,8 @@ jobs:
--with-hwloc=internal \
--with-pmix=internal \
--with-libevent=internal \
CC=gcc \
FC=gfortran \
FCFLAGS=-fallow-argument-mismatch
--disable-mpi-fortran \
CC=gcc
make -s LIBTOOLFLAGS=--silent V=1 -j 8 install > qout 2>&1
make -s -j 8 distclean >> qout 2>&1
- name: Build PnetCDF
Expand All @@ -70,6 +69,7 @@ jobs:
--enable-shared \
--enable-thread-safe \
--with-pthread \
--disable-fortran \
--with-mpi=${GITHUB_WORKSPACE}/OPENMPI \
TESTMPIRUN="${GITHUB_WORKSPACE}/OPENMPI/bin/mpiexec --oversubscribe -n NP" \
TESTOUTDIR=${GITHUB_WORKSPACE}/pnetcdf_output
Expand Down