f77 and mpif77 is conflict - Not properly synchronize with make file


Click here for full thread
Just Got Here
Hi Support,

While Compiling NWChem submodule geom, we are facing an error and observed that make file is not syncing with mpif77 while running make command.

While executing make, we are getting the below error message. But the same command line is running manually as separate command.

it is compiling with following command line option and getting following error message.

f77 -c -g -I. -I/app/setups/Nwchem-6.5.revision26243-src.2014-09-10/src/include -I/app/setups/Nwchem-6.5.revision26243-src.2014-09-10/src/tools/install/include -DPARALLEL_DIAG geom.F
geom.F: In block-data unit `geom_data':
geomP.fh:143: warning:




Argument #7 (named `isel') of `geom_selection' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
make: *** [/app/setups/Nwchem-6.5.revision26243-src.2014-09-10/lib/Linux64/libnwcutil.a(geom_input.o)] Error 1
You have new mail in /var/spool/mail/root

The above same thing while compile with mpif77 instead of f77 it is compiling successfully.
So, I try to setup environment variable with export f77=mpif77 and tried alias f77=mpif77 also.
But still Makefile make command getting the same error message.
so, Kindly help us to solve this problem.

Thanks & Regards
Jaikumar S
[9751855415]