f951: sorry, unimplemented: Graphite loop.. cannot be used
f951: sorry, unimplemented: Graphite loop.. cannot be used
Dear All,
I am a new ROMS user, I got the error message below while trying to run test case: Sed_floc_toy_check. Could anyone offer some help?
Many thanks
Barack
f951: sorry, unimplemented: Graphite loop optimizations cannot be used (-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, and -ftree-loop-linear)
make: *** [/data/COAWST/Projects/Sed_floc_toy_check/Build/mod_kinds.o] Error 1
I am a new ROMS user, I got the error message below while trying to run test case: Sed_floc_toy_check. Could anyone offer some help?
Many thanks
Barack
f951: sorry, unimplemented: Graphite loop optimizations cannot be used (-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, and -ftree-loop-linear)
make: *** [/data/COAWST/Projects/Sed_floc_toy_check/Build/mod_kinds.o] Error 1
Barack
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
Which compiler are you using? Those look like gnu fortran options.
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
Hi Kate,
That error occured with gfortran. When I tried another test (Sedbed_toy) with Ifort/openMPI, I got another error message below.
Could you help?
Many Thanks & Regards
Barack
cd /data/projects/COAWST/Projects/Sedbed_toy_check/Build; /usr/local/software/OpenMPI/2.0.2-intel-2016.u3/bin/mpif90 -c -heap-arrays -fp-model precise -ip -O2 u2dbc_im.f90
u2dbc_im.f90(171): error #6404: This name does not have a type, and must have an explicit type. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
u2dbc_im.f90(171): error #6341: A logical data type is required in this context. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
compilation aborted for u2dbc_im.f90 (code 1)
make: *** [/data/projects/COAWST/Projects/Sedbed_toy_check/Build/u2dbc_im.o] Error 1
That error occured with gfortran. When I tried another test (Sedbed_toy) with Ifort/openMPI, I got another error message below.
Could you help?
Many Thanks & Regards
Barack
cd /data/projects/COAWST/Projects/Sedbed_toy_check/Build; /usr/local/software/OpenMPI/2.0.2-intel-2016.u3/bin/mpif90 -c -heap-arrays -fp-model precise -ip -O2 u2dbc_im.f90
u2dbc_im.f90(171): error #6404: This name does not have a type, and must have an explicit type. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
u2dbc_im.f90(171): error #6341: A logical data type is required in this context. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
compilation aborted for u2dbc_im.f90 (code 1)
make: *** [/data/projects/COAWST/Projects/Sedbed_toy_check/Build/u2dbc_im.o] Error 1
Barack
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
I don't know where you are getting those extra compile flags from. My roms wants to compile with gfortran like this:
Did you do a "make clean" before trying with a different compiler? FIRST_2D_STEP is coming from globaldefs.h and should not be seen by the compiler. Is there some other error above that from the cpp phase?
Code: Select all
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math strings.f90
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
I did "make clean", but I dont know where the error came from?
Do you have any further suggestion?
Thanks
Do you have any further suggestion?
Thanks
Barack
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
I would go back to gfortran and try to figure out where those extra options came from. Do you have an FFLAGS environment variable set?
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
Dear Kate,
I have: FFLAGS := -frepack-arrays
I am able to compile MCT/SCRIPT_COAWST, and SWAN alone, but when compiling: Projects\Inlet_test\Coupled... I got another error below.
Where could I find m_coupling.mod? or m_coupling.f90/ftn?
Thanks
swan_iounits.f90:14:10:
USE M_COUPLING
1
Fatal Error: Can't open module file ‘m_coupling.mod’ for reading at (1): No such file or directory
compilation terminated.
I have: FFLAGS := -frepack-arrays
I am able to compile MCT/SCRIPT_COAWST, and SWAN alone, but when compiling: Projects\Inlet_test\Coupled... I got another error below.
Where could I find m_coupling.mod? or m_coupling.f90/ftn?
Thanks
swan_iounits.f90:14:10:
USE M_COUPLING
1
Fatal Error: Can't open module file ‘m_coupling.mod’ for reading at (1): No such file or directory
compilation terminated.
Barack
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
To find things, I like to use grep. In this case you can use the -ir option for recursive, case insensitive:
In addition to finding the "USE" lines, you get:
It also matches instances of ocn2atm_coupling, oh well.
How to get things to compile in the correct order is another issue entirely, something I don't know how SWAN is attempting.
Code: Select all
grep -ir m_coupling .
Code: Select all
./SWAN/Src/swmod2.ftn: MODULE M_COUPLING
./SWAN/Src/swmod2.ftn: END MODULE M_COUPLING
How to get things to compile in the correct order is another issue entirely, something I don't know how SWAN is attempting.
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
All right!
After changing gfortran/MPI versions, and re-building netCDF libraries, I have successfully compiled my COAWST! I am able to run all testcases in 'Projects' without any error!
My current versions are: GCC 5.4.0, OpenMPI 2.0.2, Zlib1.2.11/HDF51.10.1, netcdf-C 4.4.1.1 and netCDF-Fortran 4.4.0.
Thanks & Regards
Barrack
![Very Happy :D](./images/smilies/icon_biggrin.gif)
After changing gfortran/MPI versions, and re-building netCDF libraries, I have successfully compiled my COAWST! I am able to run all testcases in 'Projects' without any error!
My current versions are: GCC 5.4.0, OpenMPI 2.0.2, Zlib1.2.11/HDF51.10.1, netcdf-C 4.4.1.1 and netCDF-Fortran 4.4.0.
Thanks & Regards
Barrack
Barack
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
Hi Barrack,barack99 wrote:All right!![]()
After changing gfortran/MPI versions, and re-building netCDF libraries, I have successfully compiled my COAWST! I am able to run all testcases in 'Projects' without any error!
My current versions are: GCC 5.4.0, OpenMPI 2.0.2, Zlib1.2.11/HDF51.10.1, netcdf-C 4.4.1.1 and netCDF-Fortran 4.4.0.
Thanks & Regards
Barrack
Which version of gfortran you are using for COAWST?
Xiaohui
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
As I mentioned GCC version is 5.4, so that is gfortran.
Barack
-
- Posts: 5
- Joined: Mon Aug 05, 2019 1:39 pm
- Location: Indian Institute of Technology Delhi
Re: f951: sorry, unimplemented: Graphite loop.. cannot be us
Barrack[/quote]
Is it because of any compilers incompatibility?
My current versions are almost same as you mentioned.
Can you help me out with this error?
Thanks and Regards,
Siva Heramb
I got the same error (with the same file and also because of FIRST_2D_STEP lines) but when using gfortran for compiling the basic upwelling case.barack99 wrote:
cd /data/projects/COAWST/Projects/Sedbed_toy_check/Build; /usr/local/software/OpenMPI/2.0.2-intel-2016.u3/bin/mpif90 -c -heap-arrays -fp-model precise -ip -O2 u2dbc_im.f90
u2dbc_im.f90(171): error #6404: This name does not have a type, and must have an explicit type. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
u2dbc_im.f90(171): error #6341: A logical data type is required in this context. [FIRST_2D_STEP]
IF (FIRST_2D_STEP) THEN
----------^
compilation aborted for u2dbc_im.f90 (code 1)
make: *** [/data/projects/COAWST/Projects/Sedbed_toy_check/Build/u2dbc_im.o] Error 1
Is it because of any compilers incompatibility?
My current versions are almost same as you mentioned.
Can you help me out with this error?
Thanks and Regards,
Siva Heramb