-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors compiling SAMRAI_pdat.dir on ppc64le and gcc/7.3.1 #173
Comments
To follow up on this issue, I was able to compile successfully on Intel x86_64 and both gcc/8.3.1 and gcc/7.3.0. Could this a platform issue? |
Yes, it seems like something is going wrong with the CMake configuration generating the files FC.h and SAMRAI_config.h, where the macros CMAKE_FORTRAN_GLOBAL and SAMRAI_F77_FUNC are defined. These headers are located at include/SAMRAI under the directory where you ran cmake. I would suggest comparing the versions of those headers from your successful and unsuccessful builds to see if there are any differences relating to those macros. |
Indeed the FC.h file is different: diff build-ppc/include/SAMRAI/FC.h build-Intel-x86/include/SAMRAI/FC.h
|
the x86 header file has the above extra lines. |
During the run of CMake, you ought to see output that looks like this:
Do you see this, or possibly any warnings or errors that might be related to this? |
Scanning dependencies of target SAMRAI_pdat
[ 18%] Building CXX object source/SAMRAI/pdat/CMakeFiles/SAMRAI_pdat.dir/ArrayDataIterator.C.o
[ 18%] Building CXX object source/SAMRAI/pdat/CMakeFiles/SAMRAI_pdat.dir/CellConstantRefine.C.o
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:41:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:41:22: error: 'conrefcelldoub1d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:41:40: error: 'CONREFCELLDOUB1D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:48:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellflot1d, CONREFCELLFLOT1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:48:22: error: 'conrefcellflot1d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:48:40: error: 'CONREFCELLFLOT1D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellflot1d, CONREFCELLFLOT1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:55:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellcplx1d, CONREFCELLCPLX1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:55:22: error: 'conrefcellcplx1d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:55:40: error: 'CONREFCELLCPLX1D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellcplx1d, CONREFCELLCPLX1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:62:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellintg1d, CONREFCELLINTG1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:62:22: error: 'conrefcellintg1d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:62:40: error: 'CONREFCELLINTG1D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellintg1d, CONREFCELLINTG1D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:70:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcelldoub2d, CONREFCELLDOUB2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:70:22: error: 'conrefcelldoub2d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:70:40: error: 'CONREFCELLDOUB2D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcelldoub2d, CONREFCELLDOUB2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:78:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellflot2d, CONREFCELLFLOT2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:78:22: error: 'conrefcellflot2d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:78:40: error: 'CONREFCELLFLOT2D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellflot2d, CONREFCELLFLOT2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:87:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellcplx2d, CONREFCELLCPLX2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:87:22: error: 'conrefcellcplx2d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:87:40: error: 'CONREFCELLCPLX2D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellcplx2d, CONREFCELLCPLX2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:95:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellintg2d, CONREFCELLINTG2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:95:22: error: 'conrefcellintg2d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:95:40: error: 'CONREFCELLINTG2D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellintg2d, CONREFCELLINTG2D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:104:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcelldoub3d, CONREFCELLDOUB3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:104:22: error: 'conrefcelldoub3d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:104:40: error: 'CONREFCELLDOUB3D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcelldoub3d, CONREFCELLDOUB3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:116:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellflot3d, CONREFCELLFLOT3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:116:22: error: 'conrefcellflot3d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:116:40: error: 'CONREFCELLFLOT3D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellflot3d, CONREFCELLFLOT3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:128:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellcplx3d, CONREFCELLCPLX3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:128:22: error: 'conrefcellcplx3d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:128:40: error: 'CONREFCELLCPLX3D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellcplx3d, CONREFCELLCPLX3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:140:22: error: variable or field 'CMAKE_FORTRAN_GLOBAL' declared void
void SAMRAI_F77_FUNC(conrefcellintg3d, CONREFCELLINTG3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:140:22: error: 'conrefcellintg3d' was not declared in this scope
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:140:40: error: 'CONREFCELLINTG3D' was not declared in this scope
void SAMRAI_F77_FUNC(conrefcellintg3d, CONREFCELLINTG3D) (const int&, const int&,
^~~~~~~~~~~~~~~~
/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h: In function 'void SAMRAI::pdat::Call1dFortranCell(const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int, const T, T)':
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:165:36: error: 'conrefcelldoub1d' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:165:54: error: 'CONREFCELLDOUB1D' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:165:20: note: in expansion of macro 'SAMRAI_F77_FUNC'
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D),
^~~~~~~~~~~~~~~
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:165:20: note: in expansion of macro 'SAMRAI_F77_FUNC'
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub1d, CONREFCELLDOUB1D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:166:31: error: 'conrefcellflot1d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot1d, CONREFCELLFLOT1D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:166:49: error: 'CONREFCELLFLOT1D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot1d, CONREFCELLFLOT1D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:166:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellflot1d, CONREFCELLFLOT1D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:167:31: error: 'conrefcellcplx1d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx1d, CONREFCELLCPLX1D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:167:49: error: 'CONREFCELLCPLX1D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx1d, CONREFCELLCPLX1D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:167:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellcplx1d, CONREFCELLCPLX1D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:168:31: error: 'conrefcellintg1d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg1d, CONREFCELLINTG1D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:168:49: error: 'CONREFCELLINTG1D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg1d, CONREFCELLINTG1D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:168:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellintg1d, CONREFCELLINTG1D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h: In function 'void SAMRAI::pdat::Call2dFortranCell(const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int, const T, T)':
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:185:37: error: 'conrefcelldoub2d' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub2d, CONREFCELLDOUB2D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:185:55: error: 'CONREFCELLDOUB2D' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub2d, CONREFCELLDOUB2D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:185:21: note: in expansion of macro 'SAMRAI_F77_FUNC'
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub2d, CONREFCELLDOUB2D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:186:31: error: 'conrefcellflot2d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot2d, CONREFCELLFLOT2D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:186:49: error: 'CONREFCELLFLOT2D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot2d, CONREFCELLFLOT2D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:186:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellflot2d, CONREFCELLFLOT2D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:187:31: error: 'conrefcellcplx2d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx2d, CONREFCELLCPLX2D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:187:49: error: 'CONREFCELLCPLX2D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx2d, CONREFCELLCPLX2D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:187:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellcplx2d, CONREFCELLCPLX2D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:188:31: error: 'conrefcellintg2d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg2d, CONREFCELLINTG2D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:188:49: error: 'CONREFCELLINTG2D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg2d, CONREFCELLINTG2D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:188:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellintg2d, CONREFCELLINTG2D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h: In function 'void SAMRAI::pdat::Call3dFortranCell(const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int&, const int, const T, T)':
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:212:37: error: 'conrefcelldoub3d' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub3d, CONREFCELLDOUB3D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:212:55: error: 'CONREFCELLDOUB3D' was not declared in this scope
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub3d, CONREFCELLDOUB3D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:212:21: note: in expansion of macro 'SAMRAI_F77_FUNC'
invokeOneOfFour(SAMRAI_F77_FUNC(conrefcelldoub3d, CONREFCELLDOUB3D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:213:31: error: 'conrefcellflot3d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot3d, CONREFCELLFLOT3D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:213:49: error: 'CONREFCELLFLOT3D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellflot3d, CONREFCELLFLOT3D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:213:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellflot3d, CONREFCELLFLOT3D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:214:31: error: 'conrefcellcplx3d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx3d, CONREFCELLCPLX3D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:214:49: error: 'CONREFCELLCPLX3D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellcplx3d, CONREFCELLCPLX3D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:214:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellcplx3d, CONREFCELLCPLX3D),
^~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:0:
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:215:31: error: 'conrefcellintg3d' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg3d, CONREFCELLINTG3D),
^~~~~~~~~~~~~~~~
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:215:49: error: 'CONREFCELLINTG3D' was not declared in this scope
SAMRAI_F77_FUNC(conrefcellintg3d, CONREFCELLINTG3D),
^~~~~~~~~~~~~~~~
In file included from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:15:0,
from ***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.C:15:
***/SAMRAI/build/include/SAMRAI/SAMRAI_config.h:47:25: error: there are no arguments to 'CMAKE_FORTRAN_GLOBAL' that depend on a template parameter, so a declaration of 'CMAKE_FORTRAN_GLOBAL' must be available [-fpermissive]
#define SAMRAI_F77_FUNC CMAKE_FORTRAN_GLOBAL
^
***/SAMRAI/source/SAMRAI/pdat/CellConstantRefine.h:215:15: note: in expansion of macro 'SAMRAI_F77_FUNC'
SAMRAI_F77_FUNC(conrefcellintg3d, CONREFCELLINTG3D),
^~~~~~~~~~~~~~~
make[2]: *** [source/SAMRAI/pdat/CMakeFiles/SAMRAI_pdat.dir/build.make:143: source/SAMRAI/pdat/CMakeFiles/SAMRAI_pdat.dir/CellConstantRefine.C.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2837: source/SAMRAI/pdat/CMakeFiles/SAMRAI_pdat.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
The text was updated successfully, but these errors were encountered: