From 1718d5dad595cd528d61fb543e87ba6b9c268c98 Mon Sep 17 00:00:00 2001 From: weiwangncar Date: Fri, 2 Feb 2024 13:09:55 -0700 Subject: [PATCH 1/2] replicate PR-1812 --- configure | 4 ++-- doc/README.cygwin.md | 17 +++++++++++++++++ doc/README.netcdf4par | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/configure b/configure index e17dcb1878..d2857a0384 100755 --- a/configure +++ b/configure @@ -59,7 +59,7 @@ if `pwd | grep ' ' > /dev/null ` ; then echo and this may cause problems for your build. This can occur, for example, on echo Windows systems. It is strongly recommended that you install WRF and other echo related software such as NetCDF in directories whose path names contain no - echo white space. On Win, for example, create and install in a directory under C:. + echo white space. On Windows, for example, create and install in a directory under C:. echo '*****************************************************************************' fi @@ -659,7 +659,7 @@ fi #Checking cross-compiling capability for some particular environment #on Linux and Mac box -if [ $os = "Linux" -o $os = "Darwin" ]; then +if [ $os = "Linux" -o $os = "Darwin" -o $os = "CYGWIN_NT"]; then SFC=`grep '^SFC' configure.wrf | awk '{print $3}'` SCC=`grep '^SCC' configure.wrf | awk '{print $3}'` diff --git a/doc/README.cygwin.md b/doc/README.cygwin.md index 1d8599e951..3c5b45461d 100644 --- a/doc/README.cygwin.md +++ b/doc/README.cygwin.md @@ -17,11 +17,28 @@ - gcc-core (OpenMP for smpar) - gcc-fortran - libnetcdf-fortran-devel + - libnetcdf-devel + - libhdf5-devel + - zlib-devel - openmpi (MPI for dmpar) - libopenmpi-devel (MPI for dmpar) + - libhwloc-devel (MPI for dmpar) + - libevent-devel (MPI for dmpar) - libjasper-devel (GRIB) - perl + - perl_base - tcsh + - m4 + - make + - libtirpc-devel + - sed + - gawk + - tar + - gzip + - coreutils + - which + - file + - grep - Select install - Accept the packages pulled in as dependencies - Wait for download, install, and postinstall steps. This will diff --git a/doc/README.netcdf4par b/doc/README.netcdf4par index a4f50e1a07..e40edb9240 100644 --- a/doc/README.netcdf4par +++ b/doc/README.netcdf4par @@ -41,4 +41,4 @@ Performance seems to vary with how 'regular' the domain decomposition is (i.e., patch size). Some experimentation with manually setting the decomposition may be needed for optimal writing times. Also pay attention to file system striping (Lustre), where setting the number stripes should not exceed the -number of nodes used by the job. \ No newline at end of file +number of nodes used by the job. From 5cb72de0f4c61899ee4b920e72a0acacdb42fe52 Mon Sep 17 00:00:00 2001 From: weiwangncar Date: Fri, 2 Feb 2024 14:58:33 -0700 Subject: [PATCH 2/2] add missing space --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d2857a0384..5e2bedb10f 100755 --- a/configure +++ b/configure @@ -659,7 +659,7 @@ fi #Checking cross-compiling capability for some particular environment #on Linux and Mac box -if [ $os = "Linux" -o $os = "Darwin" -o $os = "CYGWIN_NT"]; then +if [ $os = "Linux" -o $os = "Darwin" -o $os = "CYGWIN_NT" ]; then SFC=`grep '^SFC' configure.wrf | awk '{print $3}'` SCC=`grep '^SCC' configure.wrf | awk '{print $3}'`