[MITgcm-devel] bash not available on GFDL's HPCS

Patrick Heimbach heimbach at MIT.EDU
Thu Nov 13 12:07:08 EST 2003



Ed Hill wrote:
> On Thu, 2003-11-13 at 10:52, Patrick Heimbach wrote:
> 
>>anc2:/home/psh/ecco/MITgcm/bin> uname -a
>>IRIX64 anc2 6.5 01100601 IP35
>>anc2:/home/psh/ecco/MITgcm/bin> dir /bin/sh
>>lrwxr-xr-x    1 root     sys           13 Jun 25 09:24 /bin/sh -> ../../sbin/sh*
> 

Hi Ed,

> 
> Hi Patrick,
> 
> OK, there are a few things to try:
> 
>   1) try "which bash", "find bash", and/or "locate bash" as a 
>      bash version might be installed in an odd place such as 
>      /opt/, /usr/local/, or other...


I've tried most of these, in vein.


>   2) genmake2 was written to be sh- and bash-v1-compatible so if 
>      there is no bash interpreter please try running it with
> 
>        $ sh genmake2 -ieee -mods=../code  ...etc...

anc1> sh ../../../tools/genmake2 -mods=../code -optfile=../code/irix64_ip35+mpi_gfdl

   getting OPTFILE information:
     using OPTFILE="../code/irix64_ip35+mpi_gfdl"
../../../tools/genmake2[654]: source:  not found
Error: failed to source OPTFILE "../code/irix64_ip35+mpi_gfdl"--please check that variable syntax is bash-compatible

>      and let me know if there are any errors--I will add fixes 
>      necessary to keep genmake2 sh- (bourne shell) compatible
> 
>   3) Ask the sysadmins to install bash.

I did send an e-mail, not sure what will happen.

>   4) The ultimate fall-back is to install it yourself
>        http://www.gnu.org/software/bash/bash.html
>      which I can help with if you need it.
> 
> Ed

In addition, there is a problem on their linux compute server
where I tried to run genmake2 as well.
It's running Linux Mandrake 7.0
Linux linux1 2.4.9-12SGI_XFS_1.0.2 #1 Thu Nov 15 15:32:24 CST 2001 i686 unknown

make depend
make[1]: Entering directory `/home/psh/ecco/MITgcm/verification/global1x1_tot/build'
../../../pkg/autodiff/active_file_ad.F active_file_ad.F
make[1]: execvp: ../../../pkg/autodiff/active_file_ad.F: Permission denied
make[1]: *** [active_file_ad.F] Error 127
make[1]: Leaving directory `/home/psh/ecco/MITgcm/verification/global1x1_tot/build'
make: *** [depend] Error 2

-p.


-- 
Patrick Heimbach ........................... M.I.T
FON: +1/617/253-5259 .......... EAPS, Room 54-1518
FAX: +1/617/253-4464 ..... 77 Massachusetts Avenue
mailto:heimbach at mit.edu ....... Cambridge MA 02139
http://www.mit.edu/~heimbach/ .............. U.S.A




More information about the MITgcm-devel mailing list