Hello,
I have problem with build.bash, when I'm following the tutorial "Installing ROMS in Windows XP/Vista (Via Cygwin)" and when tried to compile, I got this error:
$ ./build.bash
./build.bash: line 417: cd: /home/aliayamahdi/roms/trunk: No such file or directory
make: *** No rule to make target 'clean'. Stop
make:*** No targets specified and no makefile found. Stop
Note: I put ROMS file in the cygwin file within the C directory.
Please help me to overcome this problem.
Thank you very much
build.bash Problem
-
- Posts: 5
- Joined: Sun Oct 17, 2010 12:54 am
- Location: The University of Arizona
Re: build.bash Problem
The build.bash script is telling you that the directory /home/aliayamahdi/roms/trunk does not exist. The script is trying to change in to the directory you set for MY_ROMS_SRC in your build.bash script. Double check that you have set this correctly and that it contains the ROMS source codes.
-
- Posts: 5
- Joined: Sun Oct 17, 2010 12:54 am
- Location: The University of Arizona
Re: build.bash Problem
Thank you very much, when I wrote this line (export MY_ROOT_DIR=c:/cygwin/roms) in the build.bash file, the compilation passed this command (this menas o.k) but other error appeared which is :
makefile:390: *** target pattern contains no '%'. Stop.
makefile:241: INCLUDING FILE /home/Abdullah/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/roms/trunk/Compilers/CYGWIN-gfortran.mk:117: *** target pattern contains no '%'. Stop.
Please, what can I do now?
Thanks
makefile:390: *** target pattern contains no '%'. Stop.
makefile:241: INCLUDING FILE /home/Abdullah/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/roms/trunk/Compilers/CYGWIN-gfortran.mk:117: *** target pattern contains no '%'. Stop.
Please, what can I do now?
Thanks
Re: build.bash Problem
I refer you to the following topic:
viewtopic.php?t=872
Please let us know if that solves your problem.
viewtopic.php?t=872
Please let us know if that solves your problem.
-
- Posts: 5
- Joined: Sun Oct 17, 2010 12:54 am
- Location: The University of Arizona
Re: build.bash Problem
Hello,
I passed the error that I faced by wrote this command "in the build.bash file" (export MY_ROOT_DIR=/cygdrive/c/cygwin/roms), then I wrote the command (dos2unix build.bash) in the cygwin window. Finally I run ROMS and I got the following output files:
ocean_avg.nc
ocean_dia.nc
ocean_his.nc
ocean_rst.nc
Thanks for Robertson, Kate and Glejin for their help.
I passed the error that I faced by wrote this command "in the build.bash file" (export MY_ROOT_DIR=/cygdrive/c/cygwin/roms), then I wrote the command (dos2unix build.bash) in the cygwin window. Finally I run ROMS and I got the following output files:
ocean_avg.nc
ocean_dia.nc
ocean_his.nc
ocean_rst.nc
Thanks for Robertson, Kate and Glejin for their help.