Opened 6 years ago

Closed 4 years ago

#200 closed Support (fixed)

Installation help

Reported by: mitchekc Owned by: anphi
Priority: major Milestone:
Component: FP coding/compilation Version: FLEXPART-WRF
Keywords: Cc:

Description

I'm trying to install FLEXPART_WRF. I found another ticket that said only netCDF libraries were needed. Is that correct? I have been unable to get the grib api libraries to install. I tried using the cmake command as directed in the README file but I just get an error that says the folder I set for the install cannot be found.

when I use the command cmake install the installation tries to copy files to the computing cluster software directory - which is read only to all users. I want to install FLEXPART-WRF in a sub-folder of home directory. I cannot figure out how to make this work. Can you please help?

Change History (8)

comment:1 Changed 6 years ago by anphi

Hi,

if you really want to use the grib-api try to install the lib in your home directory. You just have to set the path accordingly in the command call. If you don't select a specific path cmake tries to install it in the system path, which is usually not writeable for normal users.
And don't forget to set the LD_LIBRARY_PATH after installation of grib-api!

However, I am not very experienced with WRF and FLEXPART-WRF, but I think you could and maybe also should produce WRF output in NetCDF format and use it as input data for FLEXPART-WRF. Then you don't need the grib-api, anyway.

Regards,
Anne

comment:2 Changed 6 years ago by pesei

Are you satisfied with this answer? Please let us know so that we can close the ticket.

In general, it is not necessary to install libraries from source if a distribution package is available.

Please also note that questions like this could also be posted to the FLEXPART user mailing list (https://lists.univie.ac.at/mailman/listinfo/flexpart).

comment:3 follow-up: Changed 6 years ago by pesei

User mitchekc said (as #201):

Hi there

I am still having trouble getting the FLEXPART WRF installation to work. I have tried both the intel compiler and the PGI compiler. With the intel compiler I got an error saying that the command mpiifort was not found. With the PGI compiler my NetCDF.inc file could not be opened. My NetCDF files are organized with separate sub folders for lib, include, etc. I tried moving up a level. This seemed to correct the issue with finding the NetCDF.inc file. However now I am getting an error that says I have an old or corrupt module file NetCDF.mod. This occurs at the netcdf_output_mod.F90 step.

I tried getting to the web address below for the user mailing list. I get a Forbidden URL warning when I click the link below.

Are you able to provide any advice regarding the issue above?

Thank you very much

Kim Mitchell

Sent from my iPhone

comment:4 in reply to: ↑ 3 Changed 6 years ago by pesei

Replying to pesei:

User mitchekc said (as #201):

I am still having trouble getting the FLEXPART WRF installation to work. I have tried both the intel compiler and the PGI compiler. With the intel compiler I got an error saying that the command mpiifort was not found.

And did you verify that the command works?

With the PGI compiler my NetCDF.inc file could not be opened. My NetCDF files are organized with separate sub folders for lib, include, etc. I tried moving up a level. This seemed to correct the issue with finding the NetCDF.inc file. However now I am getting an error that says I have an old or corrupt module file NetCDF.mod. This occurs at the netcdf_output_mod.F90 step.

Have you made sure that the netcdf lib was compiled with exactly the compiler that you are using to compile flexpart-wrf?

I tried getting to the web address below for the user mailing list. I get a Forbidden URL warning when I click the link below.

I heard that some domains were blocked for this page because of too many spammers trying to get on lists. I'll have to bring this up with the university's IT Service Dept. In which country are you located?

comment:5 Changed 6 years ago by mitchekc

How do I verify the mpiifort command works? Will it work in the bash shell or do I need to change to the csh shell?

I am going to look into the compiler. How exact is needed? Will it work if my NetCDF libraries were compiled with intel 2016.4 then I’m assuming I need to use intel 2016.4.

I’m located in Canada.

comment:6 Changed 6 years ago by anphi

  • Owner set to anphi
  • Status changed from new to accepted

comment:7 Changed 6 years ago by mitchekc

Hi there I am unable to run the command make -f makefile.mom omp in order to compile FLEXPART-WRF 3.3. Could this be caused by having the NETCDF variable set incorrectly? What else could cause this?

comment:8 Changed 4 years ago by pesei

  • Resolution set to fixed
  • Status changed from accepted to closed

as there is no answer since 20 moneths, I assume that the problem is solved.

Note: See TracTickets for help on using tickets.
hosted by ZAMG