[FLASH-USERS] "-fallow-argument-mismatch" error

Tony Curtis anthony.curtis at stonybrook.edu
Mon Jul 3 15:30:59 EDT 2023



> On Jul 2, 2023, at 7:00 AM, Yên Bình <yenbinhpy308 at gmail.com> wrote:
> 
> Dear Flash users,
> 
> I am trying to "make" in "/object" on a hpc and get this error. The version of gfortran on the hpc is 8.5.0 and I do not have the "sudo" permission to update it. 
> 
> I tried to find the "-fallow-argument-mismatch" and it is in "mpif90" and I do not have permission to write to mpif90. 
> 
> $ make
> rm -f reorder.sh
> /software/opt/mpich/3.4.3/gcc/11.2.0/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Driver_interface.F90
> gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?
> make: *** [Makefile:116: Driver_interface.o] Error 1
> 

Hi all,

This output is confusing.

The path to mpif90 sort of implies that this MPICH was built with GCC 11.2 but OP says 8.5.

Also, the “mismatch” argument does not appear in the command-line at all, which is weird.

Tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230703/2d1f2ab0/attachment.htm>


More information about the flash-users mailing list