If you are trying to install MPICH libraries, you may encounter the following error
make[4]: Entering directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[5]: Entering directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc/src'
CC topology.lo
CC traversal.lo
In file included from traversal.c:12:0:
/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h:41:2: error: #error "unknown size for unsigned int."
#error "unknown size for unsigned int."
^
make[5]: *** [traversal.lo] Error 1
make[5]: Leaving directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4/src/pm/hydra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vsingh/public/LIBRARIES/mpich-3.0.4'
make: *** [all] Error 2
Solution:
1. Edit the config.h file available at the following location
vi src/pm/hydra/tools/topo/hwloc/hwloc/include/private/autogen/config.h
2. Modify #define HWLOC_SIZEOF_UNSIGNED_INT 0 to #define HWLOC_SIZEOF_UNSIGNED_INT 4
3. Save the file and make clean
Hope this solves the problem.
Showing posts with label WRF. Show all posts
Showing posts with label WRF. Show all posts
Monday, May 14, 2018
Thursday, January 15, 2015
GFS update : Change required to run WRF
GFS Analysis and Forecast System has been upgraded wef 1200 UTC, January 14, 2015. Your WRF forecast is likely to fail if you have not yet updated your scripts. Please do the following changes in order for the run to be successful.
Update your Vtable after downloading from this command/link
wget http://www2.mmm.ucar.edu/wrf/src/Vtable.GFS_new
GFS file naming conventions have also been changed, you need to download either of the file instead of gfs.t00z.pgrb2f00
You can download any of the file.
gfs.t00z.pgrb2.0p25.f000 : 0.25 degree
gfs.t00z.pgrb2.0p50.f000 : 0.50 degree
gfs.t00z.pgrb2.1p00.f000 : 1.00 degree
gfs.t00z.pgrb2.2p20.f000 : 2.50 degree
Please note that all gridded pressure GRIB files (*pgrb*) will be up to 20 minutes late. Therefore you will have to adjust your crontab to download the files.
Ungrib and metgrid may be successful but failing to change Vtable may stop real or wrf run or you may have NUM_METGRID_SOIL_LEVELS = 0 error.
Please leave your comments if you have any query
Update your Vtable after downloading from this command/link
wget http://www2.mmm.ucar.edu/wrf/src/Vtable.GFS_new
GFS file naming conventions have also been changed, you need to download either of the file instead of gfs.t00z.pgrb2f00
You can download any of the file.
gfs.t00z.pgrb2.0p25.f000 : 0.25 degree
gfs.t00z.pgrb2.0p50.f000 : 0.50 degree
gfs.t00z.pgrb2.1p00.f000 : 1.00 degree
gfs.t00z.pgrb2.2p20.f000 : 2.50 degree
Please note that all gridded pressure GRIB files (*pgrb*) will be up to 20 minutes late. Therefore you will have to adjust your crontab to download the files.
Ungrib and metgrid may be successful but failing to change Vtable may stop real or wrf run or you may have NUM_METGRID_SOIL_LEVELS = 0 error.
Please leave your comments if you have any query
Posted by
vicky
at
8:28 AM
Subscribe to:
Posts (Atom)
Popular
- New Rules to add spouse name in the Indian passport
- Chanakya TV serial, online on youtube, Vol 1-8, All episodes 1-47
- Byomkesh Bakshi Episodes
- Spouse visa, wife visa or family visa, Bring your spouse together with you while coming to Italy
- SBI transaction on 30-Nov-0019 for INTERNET BANKING, what is this for?