LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Serge Van Criekingen (svancri_at_[hidden])
Date: 2007-11-16 12:11:19


Hello,

Tim Prince <tprince_at_[hidden]> a écrit :
It looks like you didn't follow the advice to append -lstdc++
That option does not seem to be recognized.
But - thanks to the g95 mailing list - I got the solution:
it works with the following make file
CC=mpiCC
FC=mpif77

each:
        $(CC) -c globalMain.c
        $(FC) -c -fno-second-underscore -fno-underscoring functF.f

run:
        g++ -o go functF.o globalMain.o -L/home/crieking/g95-install/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3 -lf95
        ./go

Thus life is beautiful.
Thanks for your help,
Serge

============================================
             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail