I tried to build in Ubuntu 20.04 with revision 253.
Already had the /apps/thirdparty tree for mpich3 gfortran.
First problem was this:
gfortran installed at: /usr/bin
mpich3 installed at: /apps/thirdparty/mpich-3.2.1/platforms/Linux_x86_64_2.31_gfortran_mpich3/bin
/apps/thirdparty/mpich-3.2.1/platforms/Linux_x86_64_2.31_gfortran_mpich3/bin
./install_cpseis.sh: /apps/cpseis/scripts/create_directories: /bin/bash^M: bad interpreter: No such file or directory
./install_cpseis.sh: line 367: cd: platforms/Linux_x86_64_2.31_gfortran_mpich3: No such file or directory
I found that the create_directories script has CRLF line endings (as in MSDOS)
So I used the ancient nedit editor to change the line endings to LF (unix).
Then the install scipt got up to building libva, and had another error:
-------------------------------------------------------
library /apps/cpseis/spws_home/spws/lib/Linux_x86_64_2.31_gfortran_mpich3/liblibva.a in Linux_x86_64_2.31_gfortran_mpich3 finished Thu 16 Dec 2021 17:41:34 AWST
-------------------------------------------------------
FFTW_LIBS=/apps/thirdparty/fftw-2.1.5/platforms/Linux_x86_64_2.31_gfortran_mpich3/lib/libfftw.a /apps/thirdparty/fftw-2.1.5/platforms/Linux_x86_64_2.31_gfortran_mpich3/lib/librfftw.a
/bin/sh: 1: /apps/thirdparty/fftw-2.1.5/platforms/Linux_x86_64_2.31_gfortran_mpich3/lib/librfftw.a: Permission denied
make[2]: *** [/apps/cpseis/spws_home/making/makefile.spws:943: /apps/cpseis/spws_home/spws/lib/Linux_x86_64_2.31_gfortran_mpich3/liblibva.a] Error 126
make[2]: Leaving directory '/apps/cpseis/spws_home/util/libva/Linux_x86_64_2.31_gfortran_mpich3'
make[1]: *** [makefile:122: libva] Error 2
make[1]: Leaving directory '/apps/cpseis/spws_home/making/Linux_x86_64_2.31_gfortran_mpich3'
make: *** [Makefile:329: spws] Error 2
I haven't seen that before, not sure what the cause is.