problem installing esys-particle 2.3 in ubuntu

Asked by Robert Sarracino

I'm having trouble installing esys-particle 2.3 in ubuntu.

I've tried both routes: entering

sudo apt-get update
sudo apt-get install esysparticle

and the list of steps contained in "Installing the latest revision of ESys-Particle on Ubunu and variants', but neither route seems to work.

For one thing, neither one installs esysparticle into /usr/local/bin/, where it was located when version 2.2.2 was installed.

I used to type

mpirun -np 2 /usr/local/bin/esysparticle XXXX.py

to run esys, but neither this command nor one using 'which esysparticle' now work.

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Sarracino
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi

mpirun -np 2 /usr/bin/esysparticle XXXX.py

Anton

2014-03-25 14:51 GMT+01:00 Robert Sarracino <
<email address hidden>>:

> New question #246030 on ESyS-Particle:
> https://answers.launchpad.net/esys-particle/+question/246030
>
> I'm having trouble installing esys-particle 2.3 in ubuntu.
>
> I've tried both routes: entering
>
> sudo apt-get update
> sudo apt-get install esysparticle
>
> and the list of steps contained in "Installing the latest revision of
> ESys-Particle on Ubunu and variants', but neither route seems to work.
>
> For one thing, neither one installs esysparticle into /usr/local/bin/,
> where it was located when version 2.2.2 was installed.
>
> I used to type
>
> mpirun -np 2 /usr/local/bin/esysparticle XXXX.py
>
> to run esys, but neither this command nor one using 'which esysparticle'
> now work.

Revision history for this message
Robert Sarracino (robert-sarracino) said :
#2

I'm afraid that doesn't work. I still get the message

mpirun was unable to launch the specified application as it could not access
or execute an executable:

Executable: /usr/bin/esysparticle
Node: ccore-rsarracino

while attempting to start process rank 0.

If I install esys-particle from the Ubuntu Software Centre it installs without a problem -- however, it's version 2.2.2, which has a bond instability. For some reason esys-particle is not installing from the tarball.

Revision history for this message
Robert Sarracino (robert-sarracino) said :
#3

OK, I now got it working. The problem seemed to be that despite installing ESys-Particle version 2.3 from the tarball, the file 'esysparticle' wasn't being created anywhere.

I uninstalled everything a second time, by removing ESys-Particle via the Ubuntu Software Centre and by uninstalling manually; I then deleted the entire directory storing the extracted files from the ESys-Particle 2.2.2 tarball and the files previously extracted from the ESys-Particle 2.3 tarball, created a new directory, re-extracted the 2.3 tarball, and then proceeded again through the steps outlined by Vince Boros.

This time the file 'esysparticle' was created in /usr/local/bin, and the program runs.

Thanks again, everyone, for your greatly appreciated assistance.