Need help for the installation

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
yqchen
Posts: 1
Joined: Mon Jul 07, 2014 2:30 pm
Location: south China sea institute of oceanology

Need help for the installation

#1 Unread post by yqchen »

I have tried the command lines in this page https://www.myroms.org/wiki/index.php/Subversion, and my directory looks like the following. But when I try to use "oceanS < ROMS/External/ocean_upwelling.in > & log &", I get "bash: syntax error near unexpected token `&'". Would you please tell me what should I do next? Thanks!
.
|-- matlab
| |-- 4dvar
| |-- bathymetry
| |-- bin
| |-- boundary
| |-- coastlines
| |-- forcing
| |-- grid
| |-- initial
| |-- landmask
| |-- mex
| |-- netcdf
| |-- seagrid
| |-- seawater
| |-- startup.m
| |-- tidal_ellipse
| |-- t_tide
| `-- utility
|-- MyTest
| |-- basin
| |-- benchmark
| |-- bin
| |-- bio_toy
| |-- bl_test
| |-- canyon
| |-- channel
| |-- DAMEE_4
| |-- dogbone
| |-- double_gyre
| |-- estuary_test
| |-- External
| |-- flt_test
| |-- grav_adj
| |-- inlet_test
| |-- kelvin
| |-- lab_canyon
| |-- lake_jersey
| |-- LATTE_C
| |-- lmd_test
| |-- riverplume
| |-- seamount
| |-- sed_test
| |-- shoreface
| |-- soliton
| |-- test_chan
| |-- test_head
| |-- upwelling
| |-- WC13
| |-- weddell
| `-- windbasin
|-- plot
| |-- Data
| |-- Palettes
| `-- src
|-- src
| |-- branches
| |-- matlab
| |-- plot
| |-- tags
| |-- test
| `-- trunk
|-- test
| |-- basin
| |-- benchmark
| |-- bin
| |-- bio_toy
| |-- bl_test
| |-- canyon
| |-- channel
| |-- DAMEE_4
| |-- dogbone
| |-- double_gyre
| |-- estuary_test
| |-- External
| |-- flt_test
| |-- grav_adj
| |-- inlet_test
| |-- kelvin
| |-- lab_canyon
| |-- lake_jersey
| |-- LATTE_C
| |-- lmd_test
| |-- riverplume
| |-- seamount
| |-- sed_test
| |-- shoreface
| |-- soliton
| |-- test_chan
| |-- test_head
| |-- upwelling
| |-- WC13
| |-- weddell
| `-- windbasin
`-- trunk
|-- Atmosphere
|-- Build
|-- Compilers
|-- Data
|-- Lib
|-- makefile
|-- Master
|-- ROMS
|-- User
`-- Waves

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Need help for the installation

#2 Unread post by kate »

There are two ampersands in that command. The first redirects stderr to the stdout stream for shells in the C-shell family while the second puts the job into the background. To find the bash equivalent for the first use, you can read http://www.cyberciti.biz/faq/redirectin ... to-stdout/.

Post Reply