LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Mars Lenjoy (mars.lenjoy_at_[hidden])
Date: 2006-03-11 06:23:55


THANKS
i changed the "set" to "setenv" then it works

2006/3/11, Mars Lenjoy <mars.lenjoy_at_[hidden]>:
> 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/
> >
>