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
 
Back
Top