[Wrf-users] WRF Compilation

Md Hosen md.hosen at live.vu.edu.au
Thu Mar 5 07:39:22 MST 2015


Dear All,


Good day!


I was trying to run WRF model in a supercomputer which had installed a old version 3.4.1. After getting some problem, now I am trying to compile full version 3.6.1 of WRF model with the libraries as follows:

|- mpich-3.1.2.tar<http://www.aoddy.com/wp-content/uploads/2014/09/mpich-3.1.2.tar.gz>
|- zlib-1.2.8.tar<http://www.aoddy.com/wp-content/uploads/2014/09/zlib-1.2.8.tar.gz>
|- hdf5-1.8.12.tar<http://www.aoddy.com/wp-content/uploads/2014/09/hdf5-1.8.12.tar.gz>
|- netcdf-4.3.2.tar<http://www.aoddy.com/wp-content/uploads/2014/09/netcdf-4.3.2.tar.gz>
|- ARWpost_V3.tar<http://www.aoddy.com/wp-content/uploads/2014/09/ARWpost_V3.tar.gz>
|- jasper-1.701.0.tar<http://www.aoddy.com/wp-content/uploads/2014/09/jasper-1.701.0.tar.gz>
|- libpng-1.6.12.tar<http://www.aoddy.com/wp-content/uploads/2014/09/libpng-1.6.12.tar.gz>
|- bufr.tar<http://www.aoddy.com/wp-content/uploads/2014/09/bufr.tar.gz>


As I do not have administrative access, so I am trying to install the model into my HOME DIRECTORY (s4504842).


Location of installation software:

/data/user1/s4504842/WRF/WPS/WRFV3

/data/user1/s4504842/library


First I have checked the system requirements according to the guideline from this link :

http://www2.mmm.ucar.edu/wrf/users/prepare_for_compilation.html


I found everything is okay. Then, I have started installation from the step 2 of this installation guidelines:

http://www.aoddy.com/2014/09/09/how-to-install-wrf-3-6-1-on-ubuntu-14-10-server/


I have installed all the above mentioned libraries under library folder and set the environment/path into a ~/.bashrc file into a home directory (s4504842). Please find the .bashrc file in attachment.


Before configure WRFV3, I update the .bashrc file by the command source ~/.bashrc. Then I have tried to configure WRFV3. when I am trying to configure WRFV3 by the command ./configure, it is showing some errors. NETCDF and other library are not getting in the path which I mentioned in .bashrc file. Rather, it is using the existing netcdf library (path = /usr/local/netcdf) from previous version which is installed by administrator of supercomputer. Also it raises some issues regarding GRIB2 data and Jasper library. Please find the WRF configuration error file in attachment.


Could you tell me please what are the problems? How I have to select the path/directories for netcdf and other libraries?


 During the installation of  netcdf library at step 6 according to the instruction of the link below, I wrote the command ./configure --prefix=/data/user1/s4504842/library/netcdf.4.3.2 FC=gfortran F77=gfortran CC=gcc --enable-shared.

Link: http://www.aoddy.com/2014/09/09/how-to-install-wrf-3-6-1-on-ubuntu-14-10-server/


In this situation, could you tell me please which compiler I have to select for WRFV3 configuration?


Your cooperation will be highly appreciated.


Best regards,

Imran


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20150305/e7a04f9a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bashrc.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 10473 bytes
Desc: bashrc.docx
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20150305/e7a04f9a/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WRF_Configre.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 12103 bytes
Desc: WRF_Configre.docx
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20150305/e7a04f9a/attachment-0003.bin 


More information about the Wrf-users mailing list