From: Giuseppe Battistoni (Giuseppe.Battistoni@mi.infn.it)
Date: Wed Sep 10 2003 - 10:49:29 CEST
Date: Wed, 10 Sep 2003 10:34:09 +0200
From: Giuseppe Battistoni <giuseppe.battistoni@mi.infn.it>
Organization: INFN
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: pahigbie@nmsu.edu
CC: fluka-discuss <fluka-discuss@fluka.org>
Subject: Re: Pesky Error
References: <000001c2f4c0$9ebb04f0$da0c1341@STUDY>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sorry, I realize only now that your question was never answered completely.
What I can say is that the situation is different according to the Linux
release and distribution.
For instance I am working at present on 2 different versions both from
RedHat distribution:
7.3 and 9.0
On 7.3, where gcc-2.96 exists, there is no shared object like libg2c.so
but only the static library libg2c.a
and FLUKA links only to this.
Instead on 9.0, where gcc-3.2.2 is at work, FLUKA loads libg2c.so.
Since from your attachment I see that you have gcc-2.96 under a redhat
distribution I wonder why
you have libg2c.so and I cannot understand the reason of your problem.
I do not believe that the following might be important in this respect,
but I see that in your path
you have explicitly a /usr/local/lib/libg2c.a: in the PATH definition
only directories should be present
and not file names.
Unfortunately I cannot tell you anything more useful than that
Giuseppe Battistoni
Paul R. Higbie wrote:
>Unfortunately, I am still getting this error. I am attaching all the
>information that I can think of that might be relevant. Am I right in
>assuming that the shared library should be linked by lfluka?
>
>The second attachment is my modification to rfluka to make it run with
>our Beowulf cluster. Any comments would be appreciated.
>Thanks,
>-Paul Higbie
>
>
>
>
>
>>-----Original Message-----
>>From: Giuseppe Battistoni [mailto:giuseppe.battistoni@mi.infn.it]
>>Sent: Friday, March 07, 2003 2:56 AM
>>To: Paul R. Higbie
>>Subject: Re: Please reply to pahigbie@nmsu.edu
>>
>>libg2c.so should be a Linux file belonging to the gcc compiler group.
>>Which kind of Linux installation do you have?
>>Which gcc installation do you have?
>>For me it's strange: I am personally working under RedHat 7.3 with
>>gcc-g77-2.96-113
>>and a libg2c.a exists: there is no libg2c.so
>>(files *.so are shared libraries in Linux)
>>
>>G.Battistoni for the FLUKA team
>>
>>Paul R. Higbie wrote:
>>
>>
>>
>>>Gentlemen:
>>>
>>>
>>>
>>>I have been trying to get FLUKA to work in a new environment. Rather
>>>than describe all the details at this point, could you simply tell
>>>
>>>
>me
>
>
>>>if either libg2c is a FLUKA object file or if it is a file normally
>>>expected in the Linux environment? The error message is reproduced
>>>below (FLUPRO=/usr2/phigbie/onlyFLUKA).
>>>
>>>
>>>
>>>Please reply to my office address: pahigbie@nmsu.edu
>>>
>>>
>>>
>>>Thanks,
>>>
>>>Paul Higbie
>>>
>>>
>>>
>>>/usr2/phigbie/onlyFLUKA/myfluka: error while loading shared
>>>
>>>
>libraries:
>
>
>>>libg2c.so
>>>
>>>.0: cannot open shared object file: No such file or directory
>>>
>>>
>>>
>>
>>
>>
This archive was generated by hypermail 2.1.6 : Wed Sep 10 2003 - 10:49:59 CEST