[Nek5000-users] Installing exo2nek on a Linus cluster

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sat Sep 16 22:50:06 CDT 2017


Thanks for your reply.

Below is the full output when I type ./maketool exo2nek:

----------------------
Make exo2nek...
----------------------
make[1]: Entering directory `/home/mxd/Nek5000/tools/exo2nek'
gfortran -I/home/mxd/Nek5000/3rd_party/seacas-exodus/include -mcmodel=medium -c -fdefault-real-8 exo2nek.f
exo2nek.f:598.26:

          call gen_int_gz(j,jt,w,n,z,m)
                          1
Warning: Type mismatch in argument 'j' at (1); passed INTEGER(4) to REAL(8)
exo2nek.f:624.26:

          call gen_int_gz(j,jt,w,n,z,m)
                          1
Warning: Type mismatch in argument 'j' at (1); passed INTEGER(4) to REAL(8)
exo2nek.f:443.29:

            call blank      (buf2(8),8)
                             1
Warning: Type mismatch in argument 'a' at (1); passed REAL(8) to CHARACTER(1)
exo2nek.f:444.29:

            call chcopy     (buf2(8),cc,1)
                             1
Warning: Type mismatch in argument 'a' at (1); passed REAL(8) to CHARACTER(1)
exo2nek.f:484.25:

            call blank  (buf2(8),8)
                         1
Warning: Type mismatch in argument 'a' at (1); passed REAL(8) to CHARACTER(1)
exo2nek.f:485.25:

            call chcopy (buf2(8),ch3,3)
                         1
Warning: Type mismatch in argument 'a' at (1); passed REAL(8) to CHARACTER(1)
gcc -mcmodel=medium  -c -DUNDERSCORE ../../core/byte.c
gfortran -I/home/mxd/Nek5000/3rd_party/seacas-exodus/include -mcmodel=medium -c -fdefault-real-8 ../../core/speclib.f
gfortran -I/home/mxd/Nek5000/3rd_party/seacas-exodus/include -mcmodel=medium -c -fdefault-real-8 mxm.f
gfortran -I/home/mxd/Nek5000/3rd_party/seacas-exodus/include -mcmodel=medium -fdefault-real-8 -o /home/mxd/Nek5000/bin/exo2nek exo2nek.o byte.o speclib.o mxm.o  -L/home/mxd/Nek5000/3rd_party/build-netcdf/lib -L/home/mxd/Nek5000/3rd_party/seacas-exodus/lib -lnetcdf -lexodus -lexoIIv2for32
exo2nek.o: In function `convert_':
exo2nek.f:(.text+0x2889): relocation truncated to fit: R_X86_64_32 against `.lrodata'
exo2nek.f:(.text+0x2990): relocation truncated to fit: R_X86_64_32 against `.lrodata'
exo2nek.f:(.text+0x2d7a): relocation truncated to fit: R_X86_64_32 against `.lrodata'
collect2: error: ld returned 1 exit status
make[1]: *** [exo2nek] Error 1
make[1]: Leaving directory `/home/mxd/Nek5000/tools/exo2nek'
make: *** [all] Error 1

I believe -mcmodel=medium is used.

Thanks,
Marco


> On Sep 16, 2017, at 7:08 AM, nek5000-users at lists.mcs.anl.gov wrote:
> 
> You posted just the linking step. Check if exo2nek.f was compiled using mcmodel=medium?
> 
>> On 15 Sep 2017, at 22:47, "nek5000-users at lists.mcs.anl.gov" <nek5000-users at lists.mcs.anl.gov> wrote:
>> 
>> relocation truncated to fit: R_X86_64_32 against
> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> 



More information about the Nek5000-users mailing list