- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While compiling P3DFFT with the latest OpenMPI and intel fortran compilers, I am able to run configure without problems, but run into trouble with the linker.
--------------------------------------
mpicc -g -O2 -o test_sine_c.x driver_sine.o ../../build/libp3dfft.a /usr/local/lib/libfftw3.a -lmpi_f90 -limf -lifcore
/usr/bin/ld: cannot find -lmpi_f90
--------------------------------------
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Charan,
Make certain that the mpi_f90 library is in LD_LIBRARY_PATH.
Sincerely,
James Tullos
Technical Consulting Engineer
Intel® Cluster Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Fixed it. Including the library path in LDFLAGS while configuring the make file seems to have fixed it.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page