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

Adam Reyes adam.reyes at rochester.edu
Mon Jul 3 09:26:06 EDT 2023


Hi Yen,

With gfortran < 10 you should be fine not including that flag. GCC only
started rejecting type mismatches in arguments as errors starting with
version 10.

*************************************************************************
Adam Reyes

Code Group Leader, Flash Center for Computational Science
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)

*************************************************************************

On Mon, Jul 3, 2023 at 9:10 AM Hansen, Eddie <ehansen at pas.rochester.edu>
wrote:

> -fallow-argument-mismatch is a compiler flag that is set in Makefile.h.
> You’re free to edit this file and any flags that are included here. You
> might only need to modify the flags listed on the line with ‘FFLAGS_OPT’.
> Different compilers (and sometimes different versions) will have different
> names for these flags.
>
>
>
> --
>
> Eddie Hansen
>
> Research Scientist
>
> Flash Center for Computational Science
>
>
>
>
>
> *From: *flash-users <flash-users-bounces at flash.rochester.edu> on behalf
> of Yên Bình <yenbinhpy308 at gmail.com>
> *Date: *Sunday, July 2, 2023 at 7:01 AM
> *To: *flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
> *Subject: *[FLASH-USERS] "-fallow-argument-mismatch" error
>
> 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*
>
>
> I really appreciate any help to resolve this issue.
>
>
>
> Thank you in advance.
>
> Binh
>
> *Nguyen Thi Yen Binh*
>
> College Student
>
> Space Science and Satellite Technology
>
> University of Science and Technology of Ha Noi
>
> [image: Image removed by sender.]
>
> binhnty.bi12-060 at st.usth.edu.vn
>
> [image: Image removed by sender.]
>
> +84367533986
>
> [image: Image removed by sender.]
>
> Tuy Hoa, Phu Yen, Viet Nam
>
> [image: Image removed by sender.] <https://www.facebook.com/wbinhw>
>
> [image: Image removed by sender.] <https://www.instagram.com/yenbinne/>
>
> [image: Image removed by sender.] <https://github.com/pea9>
>
>
>
> [image: Image removed by sender.]
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230703/d580fcf4/attachment-0001.htm>


More information about the flash-users mailing list