in addition,
$ echo $PATH
/u3/yz12/LAMHOME/bin:/usr/local/bin:/bin:/usr/bin:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/usr/X11R6/bin
$ printenv PATH
/usr/local/bin:/bin:/usr/bin:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/usr/X11R6/bin
puzzled...
2006/3/11, Nobuhiro KUSUNO <n-kusuno_at_[hidden]>:
>
> Try using
> set path (${LAMHOME}/bin:$path)
> or
> setenv path (${LAMHOME}/bin:$path), instaed.
>
> I'm BASH user, so I don't know the TCSH behavior and the difference
> between set and setenv...
>
> > I'm using TCSH
>
> > $ /u3/yz12/LAMHOME/bin/mpicc
> > gcc: no input files
>
> > $ echo $PATH
> > /u3/yz12/LAMHOME/bin:/usr/local/bin:/bin:/usr/bin:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/usr/X11R6/bin
>
> > $ mpicc
> > mpicc: Command not found.
>
> > look here!!!!! that's the point!!!!!!!!!!!!!!!!
> > why???
>
>
> > my .tcshrc is
> > $ cat .tcshrc
> > set LAMHOME="/u3/yz12/LAMHOME"
> > set PATH="${LAMHOME}/bin:$PATH"
> > set LD_LIBRARY_PATH="${LAMHOME}/lib"
> > set MANPATH="${LAMHOME}/man"
>
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
> ///////////////////////////////////////////////
> Nobuhiro KUSUNO
>
> E-mail : n-kusuno_at_[hidden]
> ///////////////////////////////////////////////
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|