Close

Forum

Inconsistency between tutorial provided and supplied package for GEBT

  1. Louis Vincent Margot

    Dear all,

    I have some issues at installing gebt.

    What is the right way to do it with the supplied package.

    How to compile MakeMA28 on windows, because I tried to run on linux and import the ma28.dll in windows but I'm not sure this is the right way.

    Moreover if we look at the older version of gebt that is supplied on analyswift.com, we see that the gebt.exe and analysis.dll already exists. I think there is some inconsistency between the tutorial and the supplied package of GEBT.

    If I run the MakeMA28 with for example cygwin I get the following errors.

    make -f MakeMA28
    gfortran    -O3  -c ddep.f
    gfortran    -O3  -c ma28.f
    gfortran   -O3  -c mc19.f
    gfortran  -O3 -shared ddep.o ma28.o mc19.o  -o  MA28.dll
    ma28.o:ma28.f:(.text+0x8c): undefined reference to `ma30cd_'
    ma28.o:ma28.f:(.text+0xe56): undefined reference to `mc20ad_'
    ma28.o:ma28.f:(.text+0x1441): undefined reference to `ma30ad_'
    ma28.o:ma28.f:(.text+0x1689): undefined reference to `mc23ad_'
    ma28.o:ma28.f:(.text+0x1773): undefined reference to `mc22ad_'
    ma28.o:ma28.f:(.text+0x17d0): undefined reference to `mc24ad_'
    ma28.o:ma28.f:(.text+0x1bce): undefined reference to `ma30bd_'
    ma28.o:ma28.f:(.text+0x1d8b): undefined reference to `mc24ad_'
    ma28.o:ma28.f:(.text+0x1ee9): undefined reference to `ma30cd_'
    ma28.o:ma28.f:(.text+0x2123): undefined reference to `ma30cd_'
    C:\Program Files (x86)\gfortran\bin/ld.exe: ma28.o: bad reloc address 0x20 in section `.eh_frame'
    collect2.exe: error: ld returned 1 exit status
    make: *** [MA28.dll] Error 1


    Thanks for any help

    Regards

    Reply Report abuse

    Replying to Louis Vincent Margot

    1. Su Tian

      Hi Louis,

      The problem is the 'ddep.f'. There is a typo in the tutorial.

      On page 6,

          - 2.2.11, you need to copy 'ddeps.f' from

              '..\MA28\ma28-1.0.0\src' 

              instead of '..\MA28\mc19-1.0.0\src', and the rest is the same. 

      You can find all those required external subroutines in that file, and the compile should work then.

      Reply Report abuse

      Replying to Su Tian

    2. Louis Vincent Margot

      Yes thank you very much, it works.

       

      Best regards

      Reply Report abuse

      Replying to Louis Vincent Margot