Enzo compile problem

26 views
Skip to first unread message

Phú Huy Nguyễn

unread,
Dec 16, 2023, 10:39:03 AM12/16/23
to enzo-dev
Dear All, 

When I tried to compile Enzo by make, it showed the following error: 
Updating DEPEND
Compiling auto_show_config.C
Compiling auto_show_flags.C
Compiling auto_show_version.C
Compiling BlockSolve.F

gfortran   -c -o BlockSolve.o -fno-secUpdating DEPEND
Compiling auto_show_config.C
Compiling auto_show_flags.C
Compiling auto_show_version.C
Compiling BlockSolve.F

gfortran   -c -o BlockSolve.o -fno-second-underscore -m64   -g  -DLINUX  -DH5_USE_16_API   -D__max_subgrids=100000 -D__max_baryons=30 -D__max_cpu_per_node=8 -D__memory_pool_size=100000 -DINITS64 -DLARGE_INTS -DCONFIG_PINT_8 -DIO_32    -DUSE_MPI   -DCONFIG_PFLOAT_8 -DCONFIG_BFLOAT_8  -DUSE_HDF5_GROUPS   -DTRANSFER   -DNEW_GRID_IO -DFAST_SIB      -DENZO_PERFORMANCE    -DUSE_UUID -DSAB BlockSolve.F

BlockSolve.F:1070:11:

 1070 |       NB = ILAENV( 1, 'UGETRF', ' ', M, N, -1, -1 )
      |           1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:932:30:

  932 |          JP = J - 1 + e_idamax( M-J+1, A( J, J ), 1 )
      |                              1
Error: Type mismatch in argument ‘incx’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:2628:18:

 2628 |          ILAENV = IEEECK( 0, 0._RKIND, 1._RKIND )
      |                  1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:2639:18:

 2639 |          ILAENV = IEEECK( 1, 0._RKIND, 1._RKIND )
      |                  1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)

make: *** [Makefile:207: BlockSolve.o] Error 1ond-underscore -m64   -g  -DLINUX  -DH5_USE_16_API   -D__max_subgrids=100000 -D__max_baryons=30 -D__max_cpu_per_node=8 -D__memory_pool_size=100000 -DINITS64 -DLARGE_INTS -DCONFIG_PINT_8 -DIO_32    -DUSE_MPI   -DCONFIG_PFLOAT_8 -DCONFIG_BFLOAT_8  -DUSE_HDF5_GROUPS   -DTRANSFER   -DNEW_GRID_IO -DFAST_SIB      -DENZO_PERFORMANCE    -DUSE_UUID -DSAB BlockSolve.F

BlockSolve.F:1070:11:

 1070 |       NB = ILAENV( 1, 'UGETRF', ' ', M, N, -1, -1 )
      |           1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:932:30:

  932 |          JP = J - 1 + e_idamax( M-J+1, A( J, J ), 1 )
      |                              1
Error: Type mismatch in argument ‘incx’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:2628:18:

 2628 |          ILAENV = IEEECK( 0, 0._RKIND, 1._RKIND )
      |                  1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)
BlockSolve.F:2639:18:

 2639 |          ILAENV = IEEECK( 1, 0._RKIND, 1._RKIND )
      |                  1
Error: Type mismatch in argument ‘ispec’ at (1); passed INTEGER(4) to INTEGER(8)

make: *** [Makefile:207: BlockSolve.o] Error 1 

Does anyone have any idea to solve this? 
Below is the machine file that I use: 
Thank you very much 

Best regards, 
Huy 

Rob

unread,
Aug 21, 2024, 7:06:52 PM8/21/24
to enzo-dev
Don't know if you are still having this issue. Had this as well, the issue was my compiler flags I would check to make sure those are set correctly in the makefile.
Reply all
Reply to author
Forward
0 new messages