unreadable source files
unreadable source files
Hello!
I followed Kate's advise from "TKE as initial field" discussion under "ROMS problems", and downloaded latest source code trunk-r186.zip. Then of course I unzipped it. When I tried to view a content of some files in emacs text editor I got the message:
Debugger entered--Lisp error: (file-error "File is not readable"
"~/ROMS_3.0_new/ROMS/Include/adria02.h")
signal(file-error ("File is not readable"
"~/ROMS_3.0_new/ROMS/Include/adria02.h"))
byte-code("Ã!ƒ
Other text browsers also identified all source files as not readable. I am using Linux OS, and I logged into SVN ROMS repository under my eligible login. If someone has experienced such a problem before and would tell me how to solve it I would appreciate this a lot.
Andrey
I followed Kate's advise from "TKE as initial field" discussion under "ROMS problems", and downloaded latest source code trunk-r186.zip. Then of course I unzipped it. When I tried to view a content of some files in emacs text editor I got the message:
Debugger entered--Lisp error: (file-error "File is not readable"
"~/ROMS_3.0_new/ROMS/Include/adria02.h")
signal(file-error ("File is not readable"
"~/ROMS_3.0_new/ROMS/Include/adria02.h"))
byte-code("Ã!ƒ
Other text browsers also identified all source files as not readable. I am using Linux OS, and I logged into SVN ROMS repository under my eligible login. If someone has experienced such a problem before and would tell me how to solve it I would appreciate this a lot.
Andrey
Re: unreadable source files
how about checking out a new version using svn?
https://www.myroms.org/wiki/index.php/Subversion
https://www.myroms.org/wiki/index.php/Subversion
Re: unreadable source files
Well, I tried to do so, but it seems I have not enough information to accomplish the downloading process of source code through svn. My machine is under Linux OS, I got latest version of smartsvn (smartsvn-3_0_9), but I have no idea how to use it to be able to download ROMS source code.
Re: unreadable source files
I agree that you should be using svn, though I can't help with Smartsvn. However, since you have the files, you can use chmod on them to make them readable.
Re: unreadable source files
Kate-
Thanks a lot for your tip, I made files readable, and when I tried to compile the code with 'make' command, I got an error:
makefile:231: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: svnversion: Command not found
cp -f /opt/pgisoft/netcdf/include/netcdf.mod Build
cp: cannot stat `/opt/pgisoft/netcdf/include/netcdf.mod': No such file or directory
make: *** [Build/netcdf.mod] Error 1
which I guess is related to the way I obtained the source - without svn. I tried to compile with my old makefile, and the result was the same.
Andrey
Thanks a lot for your tip, I made files readable, and when I tried to compile the code with 'make' command, I got an error:
makefile:231: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: svnversion: Command not found
cp -f /opt/pgisoft/netcdf/include/netcdf.mod Build
cp: cannot stat `/opt/pgisoft/netcdf/include/netcdf.mod': No such file or directory
make: *** [Build/netcdf.mod] Error 1
which I guess is related to the way I obtained the source - without svn. I tried to compile with my old makefile, and the result was the same.
Andrey
- arango
- Site Admin
- Posts: 1361
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: unreadable source files
The makefile is telling you the problem right away. It cannot find the NetCDF library Check where is the NetCDF library in your system and correct the path in Compilers/Linux-pgi.mk.cp: cannot stat `/opt/pgisoft/netcdf/include/netcdf.mod': No such file or directory
make: *** [Build/netcdf.mod] Error 1
There is plenty information in WikiROM. Your postings above it is telling me that you are not following the instructions Use svn directly from the Linux command. It simpler and the best way.
Re: unreadable source files
Hernan,
Thank you for the information, I changed the paths, and now I have the executable compiled and moreover running (!).
./configure --with-ssl
make
sudo make
they didn't work. Whether the system couldn't recognize these commands or needed something else, I don't know.
Andrey
Thank you for the information, I changed the paths, and now I have the executable compiled and moreover running (!).
I realize that using svn is the best and simpliest way to download and update the code. But somehow it doesn't work for my particular situation. Previously I tried some commands in Linux command line, like provided on https://www.myroms.org/projects/src/wiki/SvnTutorial:Your postings above it is telling me that you are not following the instructions Use svn directly from the Linux command. It simpler and the best way.
./configure --with-ssl
make
sudo make
they didn't work. Whether the system couldn't recognize these commands or needed something else, I don't know.
Andrey