LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2015, 06:17 AM   #1
Elaheh_se
LQ Newbie
 
Registered: Sep 2015
Posts: 5

Rep: Reputation: Disabled
compiling error


Hi
I am trying to compile DL_POLY program which is a scientific package written in Fortran language.
it needs Intel Parallel studio and LAM/MPI for being compiled because it is a Parallel program.I have installed them correctly on my computer. when I type make ifort I give this error messages:
make[1]: *** [par] Error 1
make[1]: Leaving directory '/home/user/dl_poly_2.17/srcf90'
make: *** [ifort] Error 2
 
Old 09-04-2015, 07:08 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Code:
make[1]: *** [par] Error 1
make[1]: Leaving directory '/home/user/dl_poly_2.17/srcf90'
make: *** [ifort] Error 2
There must be the actual error preceding this.
 
Old 09-04-2015, 02:44 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
Quote:
it needs Intel Parallel studio and LAM/MPI for being compiled
what operating system and what version is it ?

so i take it you installed "Intel Parallel studio" AND tested it to make sure it WORKS

openMPI is in most repos - it is for my ScientificLinux and OpenSUSE
 
Old 09-07-2015, 03:22 AM   #4
Elaheh_se
LQ Newbie
 
Registered: Sep 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Opensuse

Dear John
I am using Opensuse 13.1. my program does not respond when I use openMPI. I should use LAM/MPI.
 
Old 09-07-2015, 11:18 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
can you please post the rest of the error

Quote:
make[1]: *** [par] Error 1
make[1]: Leaving directory '/home/user/dl_poly_2.17/srcf90'
make: *** [ifort] Error 2
that can NOT be the full error

did "configure" fully run ? and with out issues ?
or is this a "makefile project " ???

and what version of "DL_POLY" 3 or 4 ????
or the very old 2

also please post a link to the download url you used


if the old 2

the current gcc 4.8 in opensuse would be a bit too new

install gcc 4.1 from the 13.1 "dev:gcc" obs repo

and set alternatives or create a shell script to reset the links to move the compiler from 4.8 to 4.1
 
1 members found this post helpful.
Old 09-08-2015, 02:20 AM   #6
Elaheh_se
LQ Newbie
 
Registered: Sep 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Smile Error

Dear John
This is the complete error:
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi_usempi
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi_mpifh
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lopen-rte
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lopen-pal
collect2: ld returned 1 exit status
make[1]: *** [par] Error 1
make[1]: Leaving directory `/home/drmousavi/dl_poly_2.17/srcf90'
make: *** [ifort] Error 2
This is a makefile project. I type "make ifort" in the command line.The version of DL_POLY is 2.17.
Thanks for your answer.
 
Old 09-08-2015, 12:49 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
this is fairly self explanatory
Quote:
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi_usempi
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi_mpifh
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lopen-rte
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lopen-pal
the compiler can not find those 4 the needed prerequisites
( the libraries are missing )

did you install them?
if in a NON standard locations did you add those locations to the system

suse uses " /usr " and it dose NOT use "/usr/local"
 
1 members found this post helpful.
Old 09-08-2015, 01:08 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
The four Intel MPI libs, etc. ...
{ libmpi_usempi.so, libmpi_mpifh.so, libopen-rte.so, libopen-pal.so } :
... Find their location, and set the *PATH >>>
>>>
Like $ export LD_LIBRARY_PATH=/opt/intel///lib:$LD_LIBRARY_PATH && make


-
 
1 members found this post helpful.
Old 09-16-2015, 09:53 AM   #9
Elaheh_se
LQ Newbie
 
Registered: Sep 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Unhappy

I have installed the needed libraries in /usr but still does not work!

Last edited by Elaheh_se; 09-16-2015 at 09:55 AM.
 
Old 09-16-2015, 10:49 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Re #9.

Are you sure the libraries are in /usr/lib(64) ? ? Please check.

Intel<something> will typically install libraries like :
$PREFIX/<application>/<application>/lib/<arch>/

Example : /opt/intel/composerxe-2011.2.137/compiler/lib/ia32/{lib**.so, lib**.a }.

( I don't remember the location of <Intel libraries>,
but I don't think they are in /usr/lib(64), rather in /usr/<application>///lib* ?)

-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error msg while compiling kernel 'grubby fatal error no suitable templates found' suj Linux - Server 1 08-12-2010 09:33 PM
Fedora 9: error when compiling flash plug-in with error failed dependencies seow_ming Fedora 2 06-17-2008 07:17 PM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
i get an error ./term.c :95 error conflicting types of tpam when compiling bitchx eveningblush Programming 0 03-30-2006 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration