chenmingzhang / ewatering

modelling scripts for e-watering project
4 stars 3 forks source link

pymake #1

Open chenmingzhang opened 2 years ago

chenmingzhang commented 2 years ago

pymake (python-3.6) uqczhan2@goliath:~/macondo/Projects/pymake/examples$ gfortran --version GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. with error


        character(len=:),allocatable :: label      !! used for diagraph
                                             1
Error: Deferred-length character component 'label' at (1) is not yet supported
src_temp/Utilities/Libraries/daglib/dag_module.f90:18.45:

        character(len=:),allocatable :: label      !! used for diagraph
                                             1
Error: Deferred-length character component 'label' at (1) is not yet supported
src_temp/Utilities/Libraries/daglib/dag_module.f90:18.45:

        character(len=:),allocatable :: label      !! used for diagraph
                                             1
Error: Deferred-length character component 'label' at (1) is not yet supported
src_temp/Utilities/Libraries/daglib/dag_module.f90:216.46:

    call me%vertices(ivertex)%set_edges(edges)
                                              1
Error: 'set_edges' at (1) should be a SUBROUTINE
src_temp/Utilities/Libraries/daglib/dag_module.f90:18.45:

        character(len=:),allocatable :: label      !! used for diagraph
                                             1
Error: Deferred-length character component 'label' at (1) is not yet supported
src_temp/Utilities/Libraries/daglib/dag_module.f90:74.38:

            call me%add_edge(edges(i))
                                      1
Error: 'add_edge' at (1) should be a SUBROUTINE
chenmingzhang commented 2 years ago

module load intel-xe/2016.2.181 python make_mf6.py -fc=ifort --fflags='-O2'

chenmingzhang commented 2 years ago

a gfortran with a version of

(python-3.9) uqczhan2@login1:~/pymake/examples$ gfortran --version
GNU Fortran (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

works for pymake

in conclusion, the gcc in goliath is too old, while rangpur has a up-to-date gcc.

chenmingzhang commented 2 years ago

copied mf6 compiled from rangpur to goliath, and it does not work. this means that it is not wise to copy and paste the bin only from one instance to another.