Results 1 to 3 of 3

Thread: Mpich2 compiler gives error

  1. #1
    Join Date
    Jul 2015
    Beans
    2

    Mpich2 compiler gives error

    Hey community,

    I am pretty new here but well i hope to learn.

    I am trying to install a Open Src software (delft3d) which needs to be compiled. I already downloaded with the help of manuals and tutorials all the libs and compilers and am trying to run the build.sh. It seems to me as if the path to my mpich2 compiler is not correct. ( im typing
    Code:
    ./build.sh -gnu -64bit
    and get an error Make fails! )

    The logs file shows:

    Code:
    checking for openmpif90... /opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90
             checking for mpif.h...no 
             ./configure: line 26420: /opt/mpich2-1.4.1-gcc-4.6.2/bin/mpif90: No such file or directory
    does this mean that mpif90 just cannot be found or that i haven't installed it?

  2. #2
    Join Date
    Jul 2015
    Beans
    2

    Re: Mpich2 compiler gives error

    So I managed to add the right path in the build.sh file...
    For the compilation I can run a autogen.sh file and then ./configure which looks gret so far, but then the final step make gives an error again:

    HTML Code:
    use netcdf
            1
    Fatal Error: Can't open module file 'netcdf.mod' for reading at (1): No such file or directory
    Makefile:504: recipe for target 'datagroups.lo' failed
    make[6]: *** [datagroups.lo] Error 1
    make[6]: Leaving directory '/home/numericpc/trunk/src/engines_gpl/flow2d3d/packages/data/src/basics'
    Makefile:482: recipe for target 'install-recursive' failed
    make[5]: *** [install-recursive] Error 1
    make[5]: Leaving directory '/home/numericpc/trunk/src/engines_gpl/flow2d3d/packages/data/src'
    Makefile:478: recipe for target 'install-recursive' failed
    make[4]: *** [install-recursive] Error 1
    make[4]: Leaving directory '/home/numericpc/trunk/src/engines_gpl/flow2d3d/packages/data'
    Makefile:488: recipe for target 'install-recursive' failed
    make[3]: *** [install-recursive] Error 1
    make[3]: Leaving directory '/home/numericpc/trunk/src/engines_gpl/flow2d3d/packages'
    Makefile:478: recipe for target 'install-recursive' failed
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory '/home/numericpc/trunk/src/engines_gpl/flow2d3d'
    Makefile:482: recipe for target 'install-recursive' failed
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory '/home/numericpc/trunk/src/engines_gpl'
    Makefile:538: recipe for target 'install-recursive' failed
    make: *** [install-recursive] Error 1
    Now i was searching for that netcdf.mod file and found it on my system under /usr/include/netcdf.mod

    How can I fix this now, do i somehow have to include this file and if where?

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Mpich2 compiler gives error

    Moved to Packaging & Compiling Programs.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •