[Wrf-users] lammpi & wrf
Jean-Louis Monge
jeanlouis.monge at free.fr
Fri Sep 19 13:42:10 MDT 2008
On Friday 19 September 2008 11:41:09 Cesar Hernandez Baño wrote:
> Hi
>
> Anyone knows the settings in configure.wrf to compile using lammpi?
>
> Cheers
> Cesar
Hi,
In the section of arch/configure_new_defaults (V3) or arch/configure.defaults
(V2) related to your architecture/compiler, replace :
DM_FC = mpif90 -f90=$(SFC)
by
DM_FC = LAMMPIF77=$(SFC); <your_path_to_lam>/bin/mpif77
And
DM_CC = mpicc -cc=$(SCC)
by
DM_CC = LAMMPICC=$(SCC); <your_path_to_lam>/bin/mpicc
Use the same compiler for WRF and for LAM, and the same underscoring options.
Hope this helps.
--
Jean-Louis Monge
Ingénieur-conseil
09 50 51 14 43
jeanlouis.monge at free.fr
More information about the Wrf-users
mailing list