COAWST installation through Cygwin on Windows 10

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
samuel.rickerich
Posts: 6
Joined: Thu Oct 01, 2020 4:01 pm
Location: University of Maine at Orono

COAWST installation through Cygwin on Windows 10

#1 Unread post by samuel.rickerich »

Hi,

For the past year or so I have been working with coupled ROMS-SWAN applications through on a HPC cluster running CentOS, where all the required c, fortran, netcdf, and mpi libraries were maintained and installed properly by an admin. My current work requires that I run my ROMS-SWAN models via Cygwin on Windows 10 that is running on a desktop. I am struggling to install the dependencies properly and successfully compile the Inlet_test test case -- which is why I am now writing to seek help.

The dependencies I installed via Cygwin setup.exe include: gcc-core and gcc-g++ 11.2.0-1, gfortran or gcc-fortran 11.2.0-1, make, git, svn, netcdf and netcdf-fortran 4.8.1-1 (and hdf5, zlib, curl), and openmpi 4.1.2-1. When I try to install the MCT it fails very quickly:

Code: Select all

samuel.rickerich@6ZZNNK3 ~/COAWST/Lib/MCT
$ ./configure --prefix=/home/$USER
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking Fortran 90 filename extension... .F90
checking whether we are using the GNU Fortran 90 compiler... yes
checking for mpxlf90_r... no
checking for mpxlf90... no
checking for mpxlf95... no
checking for mpif90... mpif90
checking for MPI_Init... no
checking for MPI_Init in -lmpi... no
checking for MPI_Init in -lmpich... no
checking how to get the version output from gfortran... --version
checking whether byte ordering is bigendian... no
checking whether fortran .mod file is uppercase... no
checking for Fortran 90 name-mangling scheme... unknown
configure: WARNING: UNKNOWN FORTRAN 90 NAME-MANGLING SCHEME
checking for cpp... cpp
checking if Fortran 90 compiler performs preprocessing... yes
checking if C preprocessor can work with Fortran compiler... yes
Hostname=6ZZNNK3
Machine=x86_64
OS=CYGWIN_NT-10.0
configure: WARNING: OPERATING SYSTEM UNKNOWN
Fortran Compiler is GNU

Output Variables: {CC=gcc} {ALLCFLAGS=-DFORTRAN_MANGLING_UNKNOWN -DSYSUNKNOWNOS -DCPRGNU -O} {FPP=cpp} {FPPFLAGS=-P -C -N -traditional} {FC=mpif90} {F90=gfortran} {FCFLAGS=} {F90FLAGS=} {MACHDEFS=-DSYSUNKNOWNOS -DCPRGNU} {OPT=} {REAL8=} {BIT64=} {ENDIAN=} {MPIF90=mpif90} {MPILIBS=} {MPIHEADER=} {INCLUDEFLAG=-I} {INCLUDEPATH=} {AR=ar cq} {BABELROOT=} {COMPILER_ROOT=} {PYTHON=} {PYTHONOPTS=} {FORT_SIZE=} {prefix=/home/samuel.rickerich}

configure: creating ./config.status
config.status: creating Makefile.conf
Please check the Makefile.conf
Have a nice day!

samuel.rickerich@6ZZNNK3 ~/COAWST/Lib/MCT
$ make
make[1]: Entering directory '/home/samuel.rickerich/COAWST/Lib/MCT/mpeu'
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_mpif.F90
m_mpif.F90:60: Error: Can't open included file 'mpif.h'
make[1]: *** [Makefile:66: m_mpif.o] Error 1
make[1]: Leaving directory '/home/samuel.rickerich/COAWST/Lib/MCT/mpeu'
make: *** [Makefile:10: subdirs] Error 2
I have reviewed the Cygwin tutorial on the ROMS Wiki, scoured this forum and UCAR netcdf forum, but am still running into trouble.

For example, I am unsure if netcdf was installed correctly by setup.exe, since 'nf-config --has-f90' returns nothing but 'nf-config --has-f03' returns 'yes'. The same is true for nc-config. Could this create problem? Or could it be something I overlooked, like setting necessary environment variables in my .bash_profile?

If anyone has experience installing and running COAWST with Cygwin on Windows 10, I would be very appreciative learn about your experience with installation and compilation. Thank you for your consideration.

Regards,
Sam

smchen
Posts: 11
Joined: Sat Mar 21, 2015 12:38 am
Location: TORI, Taiwan

Re: COAWST installation through Cygwin on Windows 10

#2 Unread post by smchen »

I am not familiar with ROMS with Cygwin. If you want to run ROMS on Windows 10, you can try Windows subsystem Linux (WSL) which uses the same libs as those at HPC.

jcwarner
Posts: 1172
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: COAWST installation through Cygwin on Windows 10

#3 Unread post by jcwarner »

make sure you have
c:/cygwin64/usr/include/mpif.h
if not then you missed something during the setup, like libopenmpifh40 or something like that
cygwinlib.png

samuel.rickerich
Posts: 6
Joined: Thu Oct 01, 2020 4:01 pm
Location: University of Maine at Orono

Re: COAWST installation through Cygwin on Windows 10

#4 Unread post by samuel.rickerich »

Hi John and smchen,

Thank you both for your replies, they are appreciated.

I went back through the setup wizard on Cygwin and added some more libraries. I now have:

Code: Select all

$ cygcheck -c
Cygwin Package Information
Package                   Version                         Status
_autorebase               001091-1                        OK
adwaita-icon-theme        3.26.1-1                        OK
adwaita-themes            3.22.3-1                        OK
alternatives              1.3.30c-10                      OK
base-cygwin               3.8-1                           OK
base-files                4.3-3                           OK
bash                      4.4.12-3                        OK
binutils                  2.37-2                          OK
bzip2                     1.0.8-1                         OK
ca-certificates           2021.2.52-1                     OK
coreutils                 8.26-2                          OK
crypt                     2.1-1                           OK
crypto-policies           20190218-1                      OK
csih                      0.9.11-1                        OK
curl                      7.82.0-1                        OK
cygrunsrv                 1.62-1                          OK
cygutils                  1.4.17-1                        OK
cygwin                    3.3.4-2                         OK
cygwin-debuginfo          3.3.4-2                         OK
cygwin-devel              3.3.4-2                         OK
dash                      0.5.11.5-1                      OK
dbus                      1.10.22-1                       OK
dbus-x11                  1.10.22-1                       OK
dejavu-fonts              2.37-1                          OK
desktop-file-utils        0.23-1                          OK
diffutils                 3.8-1                           OK
diffutils-debuginfo       3.8-1                           OK
dri-drivers               19.1.6-1                        OK
editrights                1.03-1                          OK
file                      5.41-2                          OK
findutils                 4.9.0-1                         OK
gamin                     0.1.10-15                       OK
gawk                      5.1.1-1                         OK
gcc-core                  11.2.0-1                        OK
gcc-fortran               11.2.0-1                        OK
gcc-g++                   11.2.0-1                        OK
gdk-pixbuf2.0-svg         2.40.20-1                       OK
getent                    2.18.90-4                       OK
git                       2.35.1-2                        OK
git-svn                   2.35.1-2                        OK
gnome-menus               3.13.3-3                        OK
gnupg                     1.4.23-1                        OK
grep                      3.7-2                           OK
groff                     1.22.4-1                        OK
gsettings-desktop-schemas 3.24.1-1                        OK
gtk-update-icon-cache     3.22.28-1                       OK
gtk2.0-engines-pixmap     2.24.32-1                       OK
gzip                      1.11-1                          OK
hdf5                      1.12.1-1                        OK
hicolor-icon-theme        0.15-1                          OK
hostname                  3.13-1                          OK
info                      6.8-2                           OK
ipc-utils                 1.0-2                           OK
keychain                  2.7.1-1                         OK
less                      590-1                           OK
libaec0                   1.0.6-1                         OK
libapr1                   1.6.5-1                         OK
libaprutil1               1.6.1-1                         OK
libargp                   20110921-3                      OK
libassuan0                2.5.3-1                         OK
libatk1.0_0               2.26.1-1                        OK
libatomic1                11.2.0-1                        OK
libattr1                  2.4.48-2                        OK
libblkid1                 2.33.1-2                        OK
libbrotlicommon1          1.0.9-2                         OK
libbrotlidec1             1.0.9-2                         OK
libbz2_1                  1.0.8-1                         OK
libcairo2                 1.17.4-1                        OK
libcares2                 1.14.0-1                        OK
libcom_err2               1.44.5-1                        OK
libcroco0.6_3             0.6.12-1                        OK
libcrypt0                 2.1-1                           OK
libcrypt2                 4.4.20-1                        OK
libcurl-devel             7.82.0-1                        OK
libcurl-doc               7.82.0-1                        OK
libcurl4                  7.82.0-1                        OK
libdatrie1                0.2.8-1                         OK
libdb5.3                  5.3.28-2                        OK
libdbus1_3                1.10.22-1                       OK
libdeflate0               1.10-1                          OK
libedit0                  20130712-1                      OK
libevent2.1_7             2.1.12-1                        OK
libexpat1                 2.4.1-1                         OK
libfam0                   0.1.10-15                       OK
libfdisk1                 2.33.1-2                        OK
libffi6                   3.2.1-2                         OK
libfido2                  1.10.0-1                        OK
libfontconfig-common      2.13.1-2                        OK
libfontconfig1            2.13.1-2                        OK
libfontenc1               1.1.4-1                         OK
libfreetype6              2.11.0-2                        OK
libgc1                    8.0.6-1                         OK
libgcc1                   11.2.0-1                        OK
libgcrypt20               1.10.1-1                        OK
libgdbm4                  1.13-1                          OK
libgdbm6                  1.18.1-1                        OK
libgdbm_compat4           1.18.1-1                        OK
libgdk_pixbuf2.0_0        2.36.11-1                       OK
libgfortran4              7.4.0-1                         OK
libgfortran5              11.2.0-1                        OK
libglapi0                 19.1.6-1                        OK
libglib2.0_0              2.54.3-1                        OK
libgmp10                  6.2.1-2                         OK
libgnome-menu3_0          3.13.3-3                        OK
libgnutls30               3.6.9-1                         OK
libgomp1                  11.2.0-1                        OK
libgpg-error0             1.37-1                          OK
libgpgme11                1.9.0-1                         OK
libgraphite2_3            1.3.14-1                        OK
libgsasl-common           1.8.0-4                         OK
libgsasl7                 1.8.0-4                         OK
libgssapi_krb5_2          1.15.2-2                        OK
libgtk2.0_0               2.24.32-1                       OK
libguile2.2_1             2.2.7-1                         OK
libharfbuzz0              2.9.0-2                         OK
libhdf4_0                 4.2.15-4                        OK
libhdf5_10                1.8.20-1                        OK
libhdf5_101               1.10.2-1                        OK
libhdf5_103               1.10.8-1                        OK
libhdf5_200               1.12.1-1                        OK
libhdf5hl_100             1.10.8-1                        OK
libhdf5hl_200             1.12.1-1                        OK
libhogweed4               3.4.1-1                         OK
libhwloc15                2.6.0-2                         OK
libICE6                   1.0.10-1                        OK
libiconv2                 1.16-2                          OK
libidn11                  1.33-1                          OK
libidn2_0                 2.3.2-1                         OK
libintl8                  0.21-1                          OK
libiodbc2                 3.52.8-2                        OK
libisl23                  0.24-2                          OK
libjasper4                2.0.14-1                        OK
libjbig2                  2.1-2                           OK
libjpeg8                  2.1.3-1                         OK
libk5crypto3              1.15.2-2                        OK
libkrb5_3                 1.15.2-2                        OK
libkrb5support0           1.15.2-2                        OK
libllvm8                  8.0.1-1                         OK
libltdl7                  2.4.7-1                         OK
liblz4_1                  1.7.5-1                         OK
liblzma5                  5.2.5-1                         OK
libmcpp0                  2.7.2-2                         OK
libmetalink3              0.1.3-1                         OK
libmpc3                   1.2.1-2                         OK
libmpfr6                  4.1.0-2                         OK
libmysqlclient18          10.1.30-1                       OK
libncursesw10             6.1-1.20190727                  OK
libnetcdf-cxx4-devel      4.3.1-2                         OK
libnetcdf-cxx4_1          4.3.1-2                         OK
libnetcdf-devel           4.8.1-1                         OK
libnetcdf-fortran-devel   4.5.4-1                         OK
libnetcdf-fortran_6       4.4.4-3                         OK
libnetcdf-fortran_7       4.5.4-1                         OK
libnetcdf13               4.6.1-2                         OK
libnetcdf19               4.8.1-1                         OK
libnettle6                3.4.1-1                         OK
libnghttp2_14             1.47.0-1                        OK
libntlm0                  1.4-1                           OK
libopenldap2              2.6.1-1                         OK
libopenldap2_4_2          2.6.1-1                         OK
libopenmpi-devel          4.1.2-1                         OK
libopenmpi12              1.10.7-1                        OK
libopenmpi40              4.1.2-1                         OK
libopenmpicxx1            1.10.7-1                        OK
libopenmpifh12            1.10.7-1                        OK
libopenmpifh40            4.1.2-1                         OK
libopenmpiusef08_11       1.10.7-1                        OK
libopenmpiusef08_40       4.1.0-1                         OK
libopenmpiusetkr40        4.1.2-1                         OK
libopenmpiusetkr6         1.10.7-1                        OK
libp11-kit0               0.23.20-1                       OK
libpango1.0_0             1.40.14-1                       OK
libpcre1                  8.45-1                          OK
libpcre2_8_0              10.39-1                         OK
libpipeline1              1.5.3-1                         OK
libpixman1_0              0.40.0-1                        OK
libpkgconf3               1.8.0-1                         OK
libpng16                  1.6.37-1                        OK
libpopt-common            1.18-1                          OK
libpopt0                  1.18-1                          OK
libpq5                    14.2-1                          OK
libpsl5                   0.21.1-1                        OK
libquadmath0              11.2.0-1                        OK
libreadline7              8.1-2                           OK
librsvg2_2                2.40.20-1                       OK
libsasl2_3                2.1.27-1                        OK
libserf1_0                1.3.9-1                         OK
libsigsegv2               2.10-2                          OK
libSM6                    1.2.3-1                         OK
libsmartcols1             2.33.1-2                        OK
libsqlite3_0              3.34.0-1                        OK
libssh2_1                 1.10.0-1                        OK
libssl1.0                 1.0.2u+za-1                     OK
libssl1.1                 1.1.1n-1                        OK
libstdc++6                11.2.0-1                        OK
libsz2                    1.0.6-1                         OK
libtasn1_6                4.14-1                          OK
libthai0                  0.1.26-1                        OK
libtiff6                  4.3.0-1                         OK
libtirpc-common           1.3.2-1                         OK
libtirpc3                 1.3.2-1                         OK
libunistring2             0.9.10-1                        OK
libusb0                   1.2.6.0-2                       OK
libuuid1                  2.33.1-2                        OK
libwebp7                  1.2.2-1                         OK
libX11_6                  1.7.3.1-1                       OK
libXau6                   1.0.9-1                         OK
libXaw7                   1.0.14-1                        OK
libxcb-composite0         1.14-1                          OK
libxcb-ewmh2              0.4.1-1                         OK
libxcb-icccm4             0.4.1-1                         OK
libxcb-image0             0.4.0-1                         OK
libxcb-render0            1.14-1                          OK
libxcb-shm0               1.14-1                          OK
libxcb-util1              0.4.0-1                         OK
libxcb-xfixes0            1.14-1                          OK
libxcb1                   1.14-1                          OK
libXcomposite1            0.4.5-1                         OK
libXcursor1               1.2.0-1                         OK
libXdamage1               1.1.5-1                         OK
libXdmcp6                 1.1.3-1                         OK
libXext6                  1.3.4-1                         OK
libXfixes3                6.0.0-1                         OK
libXfont2_2               2.0.5-1                         OK
libXft2                   2.3.4-1                         OK
libXi6                    1.8-1                           OK
libXinerama1              1.1.4-1                         OK
libxkbfile1               1.1.0-1                         OK
libxml2                   2.9.12-2                        OK
libXmu6                   1.1.3-1                         OK
libXmuu1                  1.1.3-1                         OK
libXpm4                   3.5.13-1                        OK
libXrandr2                1.5.2-1                         OK
libXrender1               0.9.10-1                        OK
libXt6                    1.2.1-1                         OK
libxxhash0                0.8.0-1                         OK
libzip5                   1.5.1-1                         OK
libzstd1                  1.5.2-1                         OK
login                     1.13-1                          OK
luit                      20220111-1                      OK
make                      4.3-1                           OK
man-db                    2.10.2-1                        OK
mariadb-common            3.0.9-1                         OK
mcpp                      2.7.2-2                         OK
mintty                    3.6.0-1                         OK
mysql-common              10.3.14-1                       OK
ncurses                   6.1-1.20190727                  OK
netcdf                    4.8.1-1                         OK
netcdf-cxx4-debuginfo     4.3.1-2                         OK
netcdf-fortran-debuginfo  4.5.4-1                         OK
openmpi                   4.1.2-1                         OK
openssh                   8.9p1-1                         OK
openssl                   1.1.1n-1                        OK
p11-kit                   0.23.20-1                       OK
p11-kit-trust             0.23.20-1                       OK
perl                      5.32.1-2                        OK
perl-Encode-Locale        1.05-4                          OK
perl-Error                0.17029-2                       OK
perl-File-Listing         6.14-2                          OK
perl-HTML-Parser          3.78-1                          OK
perl-HTML-Tagset          3.20-8                          OK
perl-HTTP-Cookies         6.10-2                          OK
perl-HTTP-Date            6.05-2                          OK
perl-HTTP-Message         6.36-1                          OK
perl-HTTP-Negotiate       6.01-8                          OK
perl-IO-HTML              1.004-2                         OK
perl-libwww-perl          6.61-1                          OK
perl-LWP-MediaTypes       6.04-3                          OK
perl-Net-HTTP             6.22-1                          OK
perl-Scalar-List-Utils    1.62-1                          OK
perl-TermReadKey          2.38-3                          OK
perl-TimeDate             2.33-2                          OK
perl-Try-Tiny             0.31-1                          OK
perl-URI                  5.10-1                          OK
perl-WWW-RobotRules       6.02-8                          OK
perl-YAML                 1.30-2                          OK
perl_autorebase           5.32.1-2                        OK
perl_base                 5.32.1-2                        OK
pkg-config                1.8.0-1                         OK
pkgconf                   1.8.0-1                         OK
publicsuffix-list-dafsa   20211207-1                      OK
rebase                    4.5.0-1                         OK
rsync                     3.2.3+20200903+git9f9240b-4     OK
run                       1.3.4-2                         OK
sed                       4.8-1                           OK
setxkbmap                 1.3.2-1                         OK
shared-mime-info          2.1-1                           OK
subversion                1.14.1-1                        OK
subversion-perl           1.14.1-1                        OK
tar                       1.34-1                          OK
terminfo                  6.1-1.20190727                  OK
terminfo-extra            6.1-1.20190727                  OK
tzcode                    2022a-1                         OK
tzdata                    2022a-1                         OK
util-linux                2.33.1-2                        OK
vim-minimal               8.2.4372-1                      OK
w32api-headers            9.0.0-1                         OK
w32api-runtime            9.0.0-1                         OK
wget                      1.21.3-1                        OK
which                     2.20-2                          OK
windows-default-manifest  6.4-1                           OK
xauth                     1.1.1-2                         OK
xcursor-themes            1.0.6-1                         OK
xdg-user-dirs             0.16-1                          OK
xinit                     1.4.1-1                         OK
xkbcomp                   1.4.5-1                         OK
xkeyboard-config          2.34-1                          OK
xlaunch                   20160530-1                      OK
xmodmap                   1.0.10-1                        OK
xorg-docs                 1.7.1-1                         OK
xorg-server               21.1.3-1                        OK
xorg-server-common        21.1.3-1                        OK
xrdb                      1.2.1-1                         OK
xterm                     370-1                           OK
xwin-xdg-menu             20210918-1                      OK
xz                        5.2.5-1                         OK
zlib                      1.2.11-1                        OK
zlib0                     1.2.11-1                        OK
zstd                      1.5.2-1                         OK
However, I still am running into errors when attempting to instill the MCT:

Code: Select all

samuel.rickerich@6ZZNNK3 ~/COAWST/Lib/MCT
$ ./configure
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking Fortran 90 filename extension... .F90
checking whether we are using the GNU Fortran 90 compiler... yes
checking for mpxlf90_r... no
checking for mpxlf90... no
checking for mpxlf95... no
checking for mpif90... mpif90
checking for MPI_Init... yes
checking for mpif.h... yes
checking how to get the version output from gfortran... --version
checking whether byte ordering is bigendian... no
checking whether fortran .mod file is uppercase... no
checking for Fortran 90 name-mangling scheme... lower case, underscore
checking for cpp... cpp
checking if Fortran 90 compiler performs preprocessing... yes
checking if C preprocessor can work with Fortran compiler... yes
Hostname=6ZZNNK3
Machine=x86_64
OS=CYGWIN_NT-10.0
configure: WARNING: OPERATING SYSTEM UNKNOWN
Fortran Compiler is GNU

Output Variables: {CC=gcc} {ALLCFLAGS=-DFORTRAN_UNDERSCORE_ -DSYSUNKNOWNOS -DCPRGNU -O} {FPP=cpp} {FPPFLAGS=-P -C -N -traditional} {FC=mpif90} {F90=gfortran} {FCFLAGS=} {F90FLAGS=} {MACHDEFS=-DSYSUNKNOWNOS -DCPRGNU} {OPT=} {REAL8=} {BIT64=} {ENDIAN=} {MPIF90=mpif90} {MPILIBS=} {MPIHEADER=} {INCLUDEFLAG=-I} {INCLUDEPATH=} {AR=ar cq} {BABELROOT=} {COMPILER_ROOT=} {PYTHON=} {PYTHONOPTS=} {FORT_SIZE=} {prefix=NONE}

configure: creating ./config.status
config.status: creating Makefile.conf
Please check the Makefile.conf
Have a nice day!

samuel.rickerich@6ZZNNK3 ~/COAWST/Lib/MCT
$ –make
make[1]: Entering directory '/home/samuel.rickerich/COAWST/Lib/MCT/mpeu'
gcc -c -DFORTRAN_UNDERSCORE_ -DSYSUNKNOWNOS -DCPRGNU -O  get_zeits.c
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_mpif.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_realkinds.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_stdio.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_mpif90.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_dropdead.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_chars.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_flow.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_ioutil.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_mpout.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_die.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_IndexBin_char.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_IndexBin_integer.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_IndexBin_logical.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_mall.F90
mpif90 -c  -DSYSUNKNOWNOS -DCPRGNU    m_String.F90
m_String.F90:478:17:

  457 |   call MPI_bcast(ln,1,MP_INTEGER,root,comm,ier)
      |                 2
......
  478 |   call MPI_bcast(Str%c(1),ln,MP_CHARACTER,root,comm,ier)
      |                 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(1)/INTEGER(4)).
make[1]: *** [Makefile:66: m_String.o] Error 1
make[1]: Leaving directory '/home/samuel.rickerich/COAWST/Lib/MCT/mpeu'
make: *** [Makefile:10: subdirs] Error 2

I suspect I am missing a necessary FFLAGS or FCFLAGS as noted in the COAWST user manual. I will continue to trouble shoot/search online for solutions and will report back if I have any success.

Thank you again,
Sam

jcwarner
Posts: 1172
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: COAWST installation through Cygwin on Windows 10

#5 Unread post by jcwarner »

this is a common issue with gfortran
you need to edit the Makefile.conf (i think) and add a fflag
-fallow-argument-mismatch

-j

Post Reply