I've been recently trying to compile MPAS, as I'm into model forecasting (I've worked with WRF very often).
I'm trying to compile MPAS with PGI compilers (as I had done previously with WRF), but a problem appears while compiling MPAS init_atmosphere.
-Computer SO: Ubuntu 20.04 (changed recently because of better support for my CPU, which is Zen 2 architecture)
-Compiler version: 19.10 (community edition). Using no-llvm.
-MPI: the one provided with PGI (OpenMPI 3.x)
-NetCDF: 4.6.1 and Fortran 4.5.2. Compiled with PGI for WRF before.
-PnetCDF: 1.12.1. Compiled with PGI apparently without problems.
-PIO: 1.7.1
-Makeline used: make pgi CORE=init_atmosphere
This is the problem that is returned when trying to compile:
Please note that in I tried with Makefile by default (pgf90 and pgcc) and changing fortran compiler to the one I used to build everything (pgfortran and pgcc), and same output was thrown.
I'm not used to fortran language or to almost any language, so I'm not able to research it on my own more than on the surface.
Thanks for your help,
Roberto
I'm trying to compile MPAS with PGI compilers (as I had done previously with WRF), but a problem appears while compiling MPAS init_atmosphere.
-Computer SO: Ubuntu 20.04 (changed recently because of better support for my CPU, which is Zen 2 architecture)
-Compiler version: 19.10 (community edition). Using no-llvm.
-MPI: the one provided with PGI (OpenMPI 3.x)
-NetCDF: 4.6.1 and Fortran 4.5.2. Compiled with PGI for WRF before.
-PnetCDF: 1.12.1. Compiled with PGI apparently without problems.
-PIO: 1.7.1
-Makeline used: make pgi CORE=init_atmosphere
This is the problem that is returned when trying to compile:
Code:
driver/mpas_subdriver.o: en la función `mpas_subdriver_mpas_init_':
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x546): reubicación truncada para ajustar: R_X86_64_32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x56f): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x5de): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x5ff): reubicación truncada para ajustar: R_X86_64_32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x604): reubicación truncada para ajustar: R_X86_64_32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x615): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x626): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x638): reubicación truncada para ajustar: R_X86_64_PC32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x64e): reubicación truncada para ajustar: R_X86_64_32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x653): reubicación truncada para ajustar: R_X86_64_32 contra el símbolo `_mpas_subdriver_0_' definido en la sección COMMON en driver/mpas_subdriver.o
/home/roberto/MPAS/MPAS-Model-7.0/src/driver/./mpas_subdriver.F:141:(.text+0x65d): se omitieron desbordamientos de reubicación adicionales de la salida
make[2]: *** [Makefile:18: mpas] Error 2
make[2]: se sale del directorio '/home/roberto/MPAS/MPAS-Model-7.0/src'
make[1]: *** [Makefile:780: mpas_main] Error 2
make[1]: se sale del directorio '/home/roberto/MPAS/MPAS-Model-7.0'
make: *** [Makefile:72: pgi] Error 2
Please note that in I tried with Makefile by default (pgf90 and pgcc) and changing fortran compiler to the one I used to build everything (pgfortran and pgcc), and same output was thrown.
I'm not used to fortran language or to almost any language, so I'm not able to research it on my own more than on the surface.
Thanks for your help,
Roberto