Error in compile ARWpost

Discussions related to the use of ARWPost

Error in compile ARWpost

Postby avi » Fri Jul 22, 2011 8:08 am

I have compiling the WRF and WPS V 3.2 and netcdf4.1.2 Successfully.
Now I'm trying to compile the ARWpost v 3 , and i gat an Error : Look from Line 137

http://pastebin.com/UQu769m9

Can anyone tell me why it's happened ,and how i repair this?.
avi
 
Posts: 19
Joined: Mon Mar 29, 2010 6:36 am

Re: Error in compile ARWpost

Postby avi » Mon Aug 08, 2011 12:58 am

Can anyone tell me how I compile the arwpost

Thank you.
avi
 
Posts: 19
Joined: Mon Mar 29, 2010 6:36 am

Re: Error in compile ARWpost

Postby julien1188 » Tue Sep 06, 2011 4:21 am

Check your netcdf path and the compiler of your netcdf
julien1188
 
Posts: 21
Joined: Sat Nov 06, 2010 9:43 am

Re: Error in compile ARWpost

Postby anottrott » Wed Sep 07, 2011 4:12 pm

I had many unexpected problems with netCDF V4.1.2 even though I turned off version 4 functionality during the netCDF config prior to installation. You could try reinstalling with netCDF V3.6.2 instead. Note that WRF V3 is not yet compatible with netCDF V4.
anottrott
 
Posts: 15
Joined: Fri Sep 02, 2011 6:15 am

Re: Error in compile ARWpost

Postby jrm16020 » Wed Sep 14, 2011 10:17 am

If necessary, recompile NetCDF, still using NetCDF-4 functionality, but make detailed notes regarding any optimization flags used when NetCDF is compiled, specifically a CPPFLAG that looks like -O2 or -O3. I had the exact same problem with ARWpost, receiving the "undefined reference ..." message, but edited the configure.arwp file to change all of the default -O flags to match the -O2 used by my NetCDF compilation. In addition, I added the CPPFLAG -I/path/to/netcdf/include, and the LDFLAG "-L/path/to/netcdf/lib -lnetcdf -lnetcdff". This may be a little overkill, but it did the trick for me and I now have the ARWpost.exe program in my directory.
jrm16020
 
Posts: 5
Joined: Wed May 04, 2011 12:43 pm

Re: Error in compile ARWpost

Postby jrm16020 » Sun Sep 18, 2011 8:03 pm

It should be noted that you may need to link the NetCDF libraries to the ARWpost, WPS and WRF directories. I got a couple of error messages about NetCDF, but after linking the libraries to the current working directory, they went away.
jrm16020
 
Posts: 5
Joined: Wed May 04, 2011 12:43 pm

Re: Error in compile ARWpost

Postby Yaakov.Nissim » Thu Jun 19, 2014 7:37 am

Hi jrm

I have the same errors as avi posted
I did the repairs you suggested about 'LDFLAG' and 'CPPFLAG' and the changes of 'O' to 'O2'

still I have errors in the compiulation

You suggested to link the libraries later

How to do it exactly ?

ThankU
Yaakov.Nissim
 
Posts: 2
Joined: Wed Jun 18, 2014 4:28 am


Return to ARWPost

Who is online

Users browsing this forum: No registered users and 1 guest