[FLASH-USERS] Unit test 2 for Chombo error

Nicholas Omahen nomahen at ucsc.edu
Thu Jun 20 09:42:17 EDT 2019


Hi,

I'm attempting to use version 3.1 of Chombo with  FLASH version 4.5. I have
successfully installed Chombo and ran their test routines. Unit test 1 for
Chombo in FLASH succeeds, and I've made a "Makefile.h.chombo" as described
by the FLASH 4.5 user manual. When I attempt to run "make all" in unit test
2 (FLASH4.5/source/Grid/GridMain/Chombo/wrapper/unit_tests/2), I receive
the error:

"
flash_subroutines.o: In function `driver_init_flash_':
/groups/dark/nomahen/FLASH4.5/source/Grid/GridMain/Chombo/wrapper/unit_tests/2/flash_subroutines.F90:86:
undefined reference to `grid_getblkindexlimits_'
flash_subroutines.o: In function `driver_evolve_flash_':
/groups/dark/nomahen/FLASH4.5/source/Grid/GridMain/Chombo/wrapper/unit_tests/2/flash_subroutines.F90:155:
undefined reference to `grid_getblkindexlimits_'
collect2: ld returned 1 exit status
make: *** [unit_test_2] Error 1
"

I've attached the full output of "Make all", along with my Makefile.h I
successfully use for FLASH with Paramesh, and the Makefile.h.chombo that
I've made for the same machine.

Does anyone have insights for why this is happening?

Thanks,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190620/97e8d8ee/attachment.htm>
-------------- next part --------------
ln -s ../../../Grid_getBlkPtr.F90
ln -s ../../../Grid_getBlkIndexLimits.F90
ln -s ../../../../../../Simulation/constants.h
ln -s ../../../../../../flashUtilities/general/mangle_names.h
ln -s ../../../../../../Driver/DriverMain/Driver_abortFlashC.c
ln -s ../../chombo_f_c_api.C
ln -s ../../chombo_f_c_api.h
ln -s ../../chombo_f_c_interface.F90
ln -s ../../chombo_uniform_grid.C
ln -s ../../chombo_uniform_grid.h
ln -s ../../flash_ctypes.h
ln -s ../../flash_bool.h
ln -s ../../flash_ftypes.F90
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpicxx -c chombo_f_c_api.C -ggdb -c -O0 -Wno-div-by-zero -Wundef -Wconversion -Wstrict-prototypes -Wunreachable-code -pedantic -Wall -Winit-self -ftree-vrp -Wfloat-equal -Wunsafe-loop-optimizations -Wpadded -fstack-protector-all -I/groups/dark/nomahen/Chombo-3.1/lib/include -DCH_SPACEDIM=2 -DCH_Linux    -DCH_MPI -DMPICH_SKIP_MPICXX -ULAM_WANT_MPI2CPP -DMPI_NO_CPPBIND -DCH_USE_SETVAL -DCH_USE_COMPLEX     -DCH_USE_64 -DCH_USE_DOUBLE -DCH_USE_HDF5 -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API        -DCH_FORT_UNDERSCORE -I/lustre/hpc/dark/nomahen/Chombo-3.1/lib/src/BaseTools   -DCH_LANG_CC -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API   -o chombo_f_c_api.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpicxx -c chombo_uniform_grid.C -ggdb -c -O0 -Wno-div-by-zero -Wundef -Wconversion -Wstrict-prototypes -Wunreachable-code -pedantic -Wall -Winit-self -ftree-vrp -Wfloat-equal -Wunsafe-loop-optimizations -Wpadded -fstack-protector-all -I/groups/dark/nomahen/Chombo-3.1/lib/include -DCH_SPACEDIM=2 -DCH_Linux    -DCH_MPI -DMPICH_SKIP_MPICXX -ULAM_WANT_MPI2CPP -DMPI_NO_CPPBIND -DCH_USE_SETVAL -DCH_USE_COMPLEX     -DCH_USE_64 -DCH_USE_DOUBLE -DCH_USE_HDF5 -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API        -DCH_FORT_UNDERSCORE -I/lustre/hpc/dark/nomahen/Chombo-3.1/lib/src/BaseTools   -DCH_LANG_CC -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API   -o chombo_uniform_grid.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpicc -c Driver_abortFlashC.c -ggdb -c -O0 -Wno-div-by-zero -Wundef -Wconversion -Wstrict-prototypes -Wunreachable-code -pedantic -Wall -Winit-self -ftree-vrp -Wfloat-equal -Wunsafe-loop-optimizations -Wpadded -fstack-protector-all -I/groups/dark/nomahen/Chombo-3.1/lib/include -DCH_SPACEDIM=2 -DCH_Linux    -DCH_MPI -DMPICH_SKIP_MPICXX -ULAM_WANT_MPI2CPP -DMPI_NO_CPPBIND -DCH_USE_SETVAL -DCH_USE_COMPLEX     -DCH_USE_64 -DCH_USE_DOUBLE -DCH_USE_HDF5 -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API        -DCH_FORT_UNDERSCORE -I/lustre/hpc/dark/nomahen/Chombo-3.1/lib/src/BaseTools   -DCH_LANG_CC -I/software/astro/hdf5/hdf5-1.8.14-intel/include -DH5_USE_16_API   -o Driver_abortFlashC.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c Driver_interface.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o Driver_interface.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c flash_interfaces.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o flash_interfaces.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c flash_ftypes.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o flash_ftypes.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c chombo_f_c_interface.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o chombo_f_c_interface.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c Grid_getBlkIndexLimits.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o Grid_getBlkIndexLimits.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c Grid_getBlkPtr.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o Grid_getBlkPtr.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c flash_subroutines.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o flash_subroutines.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -c main.F90 -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 -pedantic -Wall -Waliasing -Wsurprising -Wconversion -Wunderflow -ffpe-trap=invalid,zero,overflow -fbounds-check -fimplicit-none -fstack-protector-all -o main.o
/software/local/intel/parallel_studio_xe_2015_upd2/impi/5.0.3.048/intel64/bin/mpif90 -ggdb -O0 -o unit_test_2 chombo_f_c_api.o chombo_uniform_grid.o Driver_abortFlashC.o Driver_interface.o flash_interfaces.o flash_ftypes.o chombo_f_c_interface.o Grid_getBlkIndexLimits.o Grid_getBlkPtr.o flash_subroutines.o main.o -L/groups/dark/nomahen/Chombo-3.1/lib -lamrtimedependent2d.Linux.64.mpicxx.gfortran.DEBUG.MPI -lamrtools2d.Linux.64.mpicxx.gfortran.DEBUG.MPI -lboxtools2d.Linux.64.mpicxx.gfortran.DEBUG.MPI -lbasetools2d.Linux.64.mpicxx.gfortran.DEBUG.MPI -lstdc++ -L/software/astro/hdf5/hdf5-1.8.14-intel/lib -lhdf5 -lz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.h
Type: text/x-chdr
Size: 5531 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190620/97e8d8ee/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.h.chombo
Type: application/octet-stream
Size: 7534 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190620/97e8d8ee/attachment.obj>


More information about the flash-users mailing list