LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Una Smith (una_at_[hidden])
Date: 2004-02-13 16:12:36


Una Smith wrote:
>I want to run a LAM/MPI application on machines that are not
>all on a common file system. There are (to start) two file
>systems, with heterogeneous naming schemes:
>
>Linux: /some/filesystem/users/me/
>Mac OS X: /Some/Other/Filesystem/Users/me/
>
>This causes the application to fail to locate an input file,
>because the path to the input file is expanded on the local
>host before the job is sent to the remote host(s).

This works, when run from my home directory:

mpirun application ./path/to/data

On remote hosts, . is equivalent to $(HOME), thus the paths
on local and remote file systems are the same provided (a) I
run from my home directory on any one file system and (b) on
each file system I keep the same path from my home directory
to the data file.

        Una Smith

Los Alamos National Laboratory, MS K-710, Los Alamos, NM 87545