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

An syntax error in Full WRF and WPS Installation Example (Intel)

Yifan

New member
Hi everyone,
In the blog Full WRF and WPS Installation Example(Intel) , I think there is syntax mistake. The first command in installing netcdf-fortran is
export LIBS=”-lnetcdf -lhdf5_hl -lhdf5 -lz”
Here we used what so called Chinese double quotes instead of the required English double quotes, which will cause an error below:
-bash: export: `-lhdf5_hl': not a valid identifier
-bash: export: `-lhdf5': not a valid identifier
-bash: export: `-lz”': not a valid identifier
To fix this, simply replace the double quotes with English double quotes.
export LIBS="-lnetcdf -lhdf5_hl -lhdf5 -lz"

Thanks!
Yifan Zhu
 
Top