error in compiling scrip_coawst

Facts, news, and guidance about ROMS software

Moderators: arango, robertson

Post Reply
Message
Author
sun_92
Posts: 27
Joined: Sat Apr 07, 2018 12:59 am
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

error in compiling scrip_coawst

#1 Unread post by sun_92 »

Dear all
I'm getting this error while running the scrip_coawst. Kindly help

./scrip_coawst scrip_coawst_bob.in
================================================
Read input_file for SCRIP_COAWST Wrapper
================================================
Ngrid_roms= 1
Ngrid_swan= 0
Ngrid_ww3= 0
Ngrid_wrf = 1
Common netcdf file is:
scrip_bob.nc

Number of netcdf subgroups 2
Input ROMS grid 1 = /scratch/student2/COAWST/croco_grd.nc
Input WRF grid 1 = /scratch/student2/COAWST/wrfinput_d01
================================================
=============================================
Begin mapping between the two grids
---------------------------------------------
The interp file is:
ocn1_to_atm1_weights.nc

The src grid is:
/scratch/student2/COAWST/croco_grd.nc

The dst grid is:
/scratch/student2/COAWST/wrfinput_d01

----------------------------------------------
grid1 dimensions= 217 225
----------------------------------------------
----------------------------------------------
grid2 dimensions= 99 99
----------------------------------------------
Using latitude bins to restrict search.
Computing remappings between:
/scratch/student2/COAWST/croco_grd.nc

and
/scratch/student2/COAWST/wrfinput_d01

grid1 sweep
grid2 sweep
Total number of links = 65140
Error in netCDF:
Permission denied


I have exported LD_FLAGS , CPP FLAGS and all in terminal. Please help

robertson
Site Admin
Posts: 227
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: error in compiling scrip_coawst

#2 Unread post by robertson »

The "Permission denied" error would suggest that your user does not have read and/or write permissions to the file or directory.

The command "ls -la" will give you the permissions of all the files and the current directory, which will be listed as a single period (.)

sun_92
Posts: 27
Joined: Sat Apr 07, 2018 12:59 am
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Re: error in compiling scrip_coawst

#3 Unread post by sun_92 »

Yes i have permission for the executable and file.

Code: Select all

-rwxrwxrwx 1 student2 research 1705764 Jun  6 16:05 scrip_coawst
-rwxrwxrwx 1 student2 research    1340 Jun  6 17:10 scrip_coawst_bob.in
and also for netcdf folder.

sun_92
Posts: 27
Joined: Sat Apr 07, 2018 12:59 am
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Re: error in compiling scrip_coawst

#4 Unread post by sun_92 »

drwxrwxr-x 2 student2 research 14848 Jun 6 17:10 .
drwxr-xr-x 5 student2 research 10752 Jun 6 16:03 ..

jcwarner
Posts: 1204
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: error in compiling scrip_coawst

#5 Unread post by jcwarner »

let just see if you can create a file in that directory. try this command

touch help.txt

and then do
ls -ltr
do you see that file?

sun_92
Posts: 27
Joined: Sat Apr 07, 2018 12:59 am
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Re: error in compiling scrip_coawst

#6 Unread post by sun_92 »

Hi,

I was able to create the file using touch command with following permission.

Code: Select all

-rw-r--r-- 1 student2 research       0 Jun 10 09:12 help.txt

sun_92
Posts: 27
Joined: Sat Apr 07, 2018 12:59 am
Location: INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Re: error in compiling scrip_coawst

#7 Unread post by sun_92 »

Hi all

I tried two versions of COAWST, however getting the same error while using SCRIP_COAWST. Please help

Post Reply