Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

gcc: error: unrecognized command line option ‘-cc=gcc’

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

lslrsgis

Member
Dear WRF community,

I have changed a little the wrf source code, and then compile em_real. There is an error of -cc=gcc as bellow. What should I do? THX.

mpif90 -fdefault-real-8 -fdefault-double-8 -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I../../inc -I../ioapi_share -o io_int.o -c io_int.f
awk '{print "#define", toupper($4), $6}' < ../../inc/intio_tags.h > io_int_idx_tags.h
mpicc -cc=gcc -DMPI2_SUPPORT -DFSEEKO64_OK -o io_int_idx.o -c io_int_idx.c
gcc: error: unrecognized command line option ‘-cc=gcc’
 
Hi,
Can you attach the following:
1) configure.wrf file
2) the full compile log
3) the files you have modified (if there aren't too many)?
4) Please let me know the version of the code you are compiling
Thanks!
 
Thanks. I am waiting for the recovery of my post linux system.

BTW, would you look at this: https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?f=40&t=8336&p=13982#p13982.
 
Top