The code is a C code. Libraries are pre-built (donwloaded from site) and a single fortran source file.
The code is compiled with icc V8.0. the Fortran source code with ifort.
And I tried to link all the objects and libraries with icc without success. With V7.1 I am able to do that by linking -lF90, -lCEPCF90, -lIEPCF90. These libraries are not present in V8.0.
The I tried linking with ifort. It complains of multiple delcarations for main.
I looked in users guide. could not find any information.
1) How to link Fortran objects with a C main ?
2) How to link C objects with a Fortran main ?
any help is greatly appreciated.