Closed DavidAnderegg closed 2 years ago
Basically the same as: https://github.com/mdolab/idwarp/issues/70
... make src_2 make[3]: Entering directory '/home/andv/Downloads/MACH/pyhyp/src/modules' ../../rulesSources.mk:43: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:43: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:31: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:31: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:37: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:37: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:31: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:31: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:37: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:37: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:25: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:25: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:19: warning: ignoring prerequisites on suffix rule definition ../../rulesSources.mk:19: warning: ignoring prerequisites on suffix rule definition mpifort -I../../mod -I/home/andv/.mamba/envs/MACH/external/cgns/include -I/home/andv/.mamba/envs/MACH/external/hdf5/include -fPIC -std=f2008 -fdefault-real-8 -O2 -I/home/andv/.mamba/envs/MACH/external/petsc/include -I/home/andv/.mamba/envs/MACH/external/petsc/ -c communication.F90 -o ../../obj/communication.o --- Compiled communication.F90 successfully --- mpifort -I../../mod -I/home/andv/.mamba/envs/MACH/external/cgns/include -I/home/andv/.mamba/envs/MACH/external/hdf5/include -fPIC -std=f2008 -fdefault-real-8 -O2 -I/home/andv/.mamba/envs/MACH/external/petsc/include -I/home/andv/.mamba/envs/MACH/external/petsc/ -c hypInput.f90 -o ../../obj/hypInput.o --- Compiled hypInput.f90 successfully --- mpifort -I../../mod -I/home/andv/.mamba/envs/MACH/external/cgns/include -I/home/andv/.mamba/envs/MACH/external/hdf5/include -fPIC -std=f2008 -fdefault-real-8 -O2 -I/home/andv/.mamba/envs/MACH/external/petsc/include -I/home/andv/.mamba/envs/MACH/external/petsc/ -c hypData.F90 -o ../../obj/hypData.o hypData.F90:4:6: 4 | use petsc | 1 Error: GNU Extension: Variable ‘petsc_comm_self’ at (1) is in COMMON but only in BLOCK DATA initialization is allowed hypData.F90:4:6: 4 | use petsc | 1 Error: GNU Extension: Variable ‘petsc_comm_world’ at (1) is in COMMON but only in BLOCK DATA initialization is allowed make[3]: *** [../../rulesSources.mk:19: hypData.o] Error 1 make[3]: Leaving directory '/home/andv/Downloads/MACH/pyhyp/src/modules' make[2]: *** [Makefile:31: all] Error 2 make[2]: Leaving directory '/home/andv/Downloads/MACH/pyhyp/src/modules' make[1]: *** [Makefile:46: hyp] Error 1 make[1]: Leaving directory '/home/andv/Downloads/MACH/pyhyp' make: *** [Makefile:16: default] Error 2
It should compile with default flags.
See https://github.com/mdolab/idwarp/issues/70
Description
Basically the same as: https://github.com/mdolab/idwarp/issues/70
Steps to reproduce issue
Current behavior
Expected behavior
It should compile with default flags.
Code versions