Hello everyone,
I have installed the Intel compiler from these instructions : How to Install Intel Compilers for WRF,
I tried to pass the tests that are here : Compiling WRF
I fail at the last test, Test #2: Fortran + C + NetCDF, when mpif90 and mpicc are invoked. It is at the stage called "Library Compatibility Tests"
The result of the command :
mpif90 02_fortran+c+netcdf+mpi_f.o 02_fortran+c+netcdf+mpi_c.o -L${NETCDF}/lib -lnetcdff -lnetcdf
is below:
/usr/bin/ld: /home/wrf/Build_WRF/LIBRARIES/netcdf/lib/libnetcdf.a(libdispatch_la-file.o): relocation R_X86_64_32 against `.rodata.str1.4' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld : impossible de fixer les tailles des sections dynamiques : bad value
All the other tests have been passed.
Do you have an idea ?
Thank you
I have installed the Intel compiler from these instructions : How to Install Intel Compilers for WRF,
I tried to pass the tests that are here : Compiling WRF
I fail at the last test, Test #2: Fortran + C + NetCDF, when mpif90 and mpicc are invoked. It is at the stage called "Library Compatibility Tests"
The result of the command :
mpif90 02_fortran+c+netcdf+mpi_f.o 02_fortran+c+netcdf+mpi_c.o -L${NETCDF}/lib -lnetcdff -lnetcdf
is below:
/usr/bin/ld: /home/wrf/Build_WRF/LIBRARIES/netcdf/lib/libnetcdf.a(libdispatch_la-file.o): relocation R_X86_64_32 against `.rodata.str1.4' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld : impossible de fixer les tailles des sections dynamiques : bad value
All the other tests have been passed.
Do you have an idea ?
Thank you