This is an odd one, but I noticed it today in trying to get GitHub Actions working on a repo. Namely, when I watch the log output scroll by I see:
make verify ESMF_COMM=openmpi ESMF_COMPILER=g***
shell: sh -e {0}
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
FC: g***
CC: gcc
CXX: g++
for this bit of the yaml file:
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
FC: gfortran
CC: gcc
CXX: g++
and in one of the steps I have:
- name: Versions etc.
run: |
gcc --version
gfortran --version
mpirun --version
mpicc --show
mpic++ --show
mpifort --show
echo $BASEDIR
git submodule status
and the output is:
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GNU Fortran (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mpirun (Open MPI) 4.0.5
Report bugs to http://www.open-mpi.org/community/help/
gcc -I/opt/openmpi-4.0.5/include -pthread -Wl,-rpath -Wl,/opt/openmpi-4.0.5/lib -Wl,--enable-new-dtags -L/opt/openmpi-4.0.5/lib -lmpi
g++ -I/opt/openmpi-4.0.5/include -pthread -Wl,-rpath -Wl,/opt/openmpi-4.0.5/lib -Wl,--enable-new-dtags -L/opt/openmpi-4.0.5/lib -lmpi
g*** -I/opt/openmpi-4.0.5/include -pthread -I/opt/openmpi-4.0.5/lib -Wl,-rpath -Wl,/opt/openmpi-4.0.5/lib -Wl,--enable-new-dtags -L/opt/openmpi-4.0.5/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
And then later on in the logging:
/bin/bash ../../libtool --tag=CXX --tag=CC --mode=link mpicc -fPIC -fopenmp -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib -lnetcdf -ljpeg -lmfhdf -ldf -ljpeg -lhdf5_hl -lhdf5 -lm -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib -lsz -ljpeg -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib -lcurl -lssl -lcrypto -lz -lm -ldl -lm -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux//lib -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib -o ncpdq ncpdq.o libnco.la -lexpat -lgsl -lm -lnetcdf -lnetcdf -lnetcdf -L/__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib /__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib/libhdf5_hl.a /__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib/libhdf5.a /__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib/libz.a /__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib/libsz.a /__w/ESMA-Baselibs/x86_64-pc-linux-gnu/g***/Linux/lib/libcurl.a -lmfhdf -...
Each one of those g***
is a gfortran
so for some reason “fortran” is changed to “***”…but why? gcc, good; g++, good, gfortran…bad? I mean, is there some “Fortran is not a Bad Word” setting I need to add to my workflow?
Note: things seem to work, but I’m just really baffled by this.