Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

plld not working in SWI-prolog???

Status
Not open for further replies.

mashiyat

MIS
Jun 1, 2009
1
CA
Hello everyOne,

I am trying to bind C and SWI-prolog. I am able to
combine the both using the utility 'Plld' by the command

plld -o myOutput.o myCfile.c myprologfile.pl

But while i am trying to use other compiler(MPICC for MPI code)
other then the default( gcc) using the following command i am
getting some error.

plld -cc mpicc -o myOutput.o myCfile.c myprologfile.pl

The error is :

pgcc-Error-Unknown switch: -m64
pgcc-Error-Unknown switch: -pthread
pgcc-Error-Unknown switch: -m64
mpicc returned code 256
*** plld exit status 1

Any help will be much appreciated.
Thanks.
--Mashiyat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top