Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Two minor problems installing WRF on OpenSuSe Leap 15.6

award

New member
1. > export LIBS=”-lnetcdf -lz”, gives the error:

"export: `-lz”': not a valid identifier"
Bash does not recognize smart quotes (" ") as quote delimiters and treats them as literal characters within variable names or values.
To correct this, replace the smart quotes with standard double quotes:
> export LIBS="-lnetcdf -lz"

2. export LDFLAGS="-L$NETCDF/lib -L$DIR/grib2/lib"
The NETCDF library is located in $NETCDF/lib64, ZLIB in /grib2/lib, and Jasper in /grib2/lib64, so the libraries will not be found unless the path is corrected, i.e.
> LDFLAGS="-L$NETCDF/lib64 -L$DIR/grib2/lib -L$DIR/grib2/lib64"

Other than those two minor issues, everything worked fine.

Andy Ward
 
Last edited:
Top