Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] mpirun in a different directory

Try adding a PATH environment variable to the launch configuration. Note that you need to specify the whole path as $PATH will not be expanded.

Greg

On Aug 11, 2014, at 10:56 AM, Miguel Angel Salazar de Troya <salazardetroya@xxxxxxxxx> wrote:

Hi all

I'm having problems trying to run a program with PTP. The error I get is this:

Failed to execute command: perl /home/miguel/.eclipsesettings/rms/OPENMPI/start_job.pl mpirun -np 1 /home/miguel/libmeshbuild/examples/adaptivity/adaptivity_ex4/.libs/example-dbg 

Cannot run program "perl": Unknown reason

I know the reason is because it should not be just mpirun, but /home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin/mpirun, where mpirun is located. How can I tell PTP this?  /home/miguel/petsc-3.4.4/arch-linux2-c-debug/bin is in my PATH variable.

Thanks in advance
Miguel

--
Miguel Angel Salazar de Troya
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
salaza11@xxxxxxxxxxxx

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top