Yeah, I did it. it shows error saying:
I then try to add -lifcore or -lgfortran in SYSLIB or USRLIB and make it
again, but it has errors "/usr/bin/ld: cannot find -lifcore"
ok, that means you have not told the linker in which directory
to find the libifcore.a or libifcore.so files. i suggest you add you
your makefile (you have to use the proper version number...)
and change the system library entry to:
SYSLIB=-Wl,-rpath,\(INTELDIR\) \-L(INTELDIR) -lifcore
Could you please kindly tell me where i do something wrong to make linking
FORTRAN to C invalid?
linking fortran and c++ at the same time is always tricky and requires
a rather detailed understanding of the linking process and what runtime
libraries each compiler depends on. there is no common solution to this,
as it changes with each combination of compilers. adding MPI to the equation
makes it even more complicated...
in your case, i hope you were just missing the linker path.