Opened 7 years ago

Last modified 6 years ago

#180 closed Support

Error in compiling MPI (instaling Flexpart-WRF) — at Initial Version

Reported by: mhakimzadeh Owned by:
Priority: major Milestone:
Component: FP other Version: FLEXPART-WRF
Keywords: Cc:

Description

I am installing FLEXPART-WRF on intel compiler with mpich library, while I type "make -f makefile.mom mpi", I get the following error:

echo 'Compiling MPI'
Compiling MPI
ifort -openmp *.o -o flexwrf31_intel_mpi -L/home/maryam/net4/netcdf4/lib -mcmodel=medium -shared-intel -lnetcdff -debug all -lpthread -L/lib -lmpi
flexwrf.o: In function `flexwrf':
/home/maryam/FPW/src_flexwrf_v3.1/flexwrf.f90:23: multiple definition of `MAIN'
flexwrf_mpi.o:/home/maryam/FPW/src_flexwrf_v3.1/flexwrf_mpi.f90:23: first defined here
timemanager_serial.o: In function `timemanager':
/home/maryam/FPW/src_flexwrf_v3.1/timemanager_serial.f90:24: multiple definition of `timemanager_'
timemanager.o:/home/maryam/FPW/src_flexwrf_v3.1/timemanager.f90:24: first defined here
ld: cannot find -lmpi
make: * [mpi] Error 1

Thanks in advance for your help,

Change History (0)

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