I'm trying to install ROMS on a windows XP laptop.
First, I have installed the netcdf librairy for matlab and second Cygwin, with the ar, flex, yacc, makeinfo, autoconf, tcsh packages and gcc, g++ and g77 compilers. All this allowed me to install netcdf for g77 in the /usr/local directory.
Then I tried to redo the Peruvian example, as it has been provided by Pierrick Penven.
There is no problem with the matlab routines start, make_grid, make_forcing andmake_clim, that generate netcdf files.
The next step consist in compiling ROMS, thanks to jobcomp. Since I use g77, I used this jobcomp:
#!/bin/tcsh
####################################################
# COMPILATION JOB #
####################################################
#
# set source, compilation and run directories
#
set SOURCE=../Roms_Agrif
set SCRDIR=../Compile
set RUNDIR=`pwd`
#
# Linux compiler options (only relevant to Linux OS)
#
set LINUX_FC=g77
#
# set 32 or 64 Bits executable
#
set BITS=THIRTYTWO
#
# set NETCDF directories
#
set NETCDFLIB=-L/usr/local/lib/
set NETCDFINC=-I/usr/local/include/
#
# END OF USER'S MODIFICATIONS
####################################################
#
# Use GNU Make command
#
set MAKE = make
#
# clean scratch area
#
rm -rf $SCRDIR
mkdir $SCRDIR
#
# copy SOURCE code
#
cp -f ${SOURCE}/*.F $SCRDIR
cp -f ${SOURCE}/*.h $SCRDIR
cp -f ${SOURCE}/Make* $SCRDIR
cp -f ${SOURCE}/testkeys $SCRDIR
cp -f valwinrun ${SOURCE}
cp -f ${SOURCE}/jobcomp $SCRDIR
cp -f ${SOURCE}/amr.in $SCRDIR
cp -Rf ${SOURCE}/AGRIFZOOM $SCRDIR
#
# overwrite with local files
#
cp -f *.F $SCRDIR
cp -f Make* $SCRDIR
cp -f jobcomp $SCRDIR
cp -f amr.in $SCRDIR
#
# Change directory
#
cd $SCRDIR
pwd
#
# initialize LDFLAGS1
#
setenv LDFLAGS1 "$NETCDFLIB"
setenv CPPFLAGS1 "$NETCDFINC"
#
# determine operating system
#
set uname=Linux
echo $uname
echo "OPERATING SYSTEM IS:" $uname
#
# Set compilation options
#
set OS = Linux
##set CONV=conv.linux
setenv CPP1 "cpp -Wtraditional"
setenv CFT1 g77
setenv FFLAGS1 "-O3 -Wall"
setenv LDFLAGS1 "$LDFLAGS1"
#
# determine if the compilation of AGRIF is necessary
#
unset COMPILEAGRIF
if { eval `$CPP1 testkeys | grep -i -q agrif` } then
set COMPILEAGRIF = TRUE
setenv FFLAGS1 "$FFLAGS1 -IAGRIFZOOM"
setenv LDFLAGS1 "-LAGRIFZOOM -lagrif $LDFLAGS1"
endif
#echo $COMPILEAGRIF
#
# determine if the openmp compilation is necessary
#
unset COMPILEOMP
if { eval `$CPP1 testkeys | grep -i -q openmp` } then
set COMPILEOMP = TRUE
setenv FFLAGS1 "$FFLAGS1 -openmp"
endif
#
# determine if the mpi compilation is necessary
#
unset COMPILEMPI
if { eval `$CPP1 testkeys | grep -i -q mpiisdefined` } then
set COMPILEMPI = TRUE
setenv LDFLAGS1 "$LDFLAGS1 $MPILIB"
setenv FFLAGS1 "$FFLAGS1 $MPIINC"
endif
#
# write the Makedefs according to previous flags
#
echo 's?$(FFLAGS1)?'$FFLAGS1'?g' > flags.tmp
echo 's?$(LDFLAGS1)?'$LDFLAGS1'?g' >> flags.tmp
echo 's?$(CPP1)?'$CPP1'?g' >> flags.tmp
echo 's?$(CFT1)?'$CFT1'?g' >> flags.tmp
echo 's?$(CPPFLAGS1)?'$CPPFLAGS1'?g' >> flags.tmp
sed -f flags.tmp Makedefs.generic > Makedefs
rm -f flags.tmp
pwd
#
# clean scratch
#
pwd
$MAKE clobber
pwd
#
# compile the precompiling program
#
$MAKE mpc
And this last instruction does not work

Please, please, can somebody help me? Is there an other solution to run ROMS under windows? Thanks.
Regards,
Valere