[MITgcm-support] OSX with absoft build?
Michael Schaferkotter (Contractor)
Michael.Schaferkotter at nrlssc.navy.mil
Fri Feb 20 12:32:14 EST 2004
greetings:
i was able to build MITcgm on Lintel machine with pgf77. also the plume on shelf program was built and run.
now i just need to look at the results in matlab.
i tried to build on OSX:
there are these 'build_options'
darwin_absoft_f77 linux_amd64_g77 linux_ia64_g77 sn6312
darwin_g77 linux_ia32_g77 nec_sx6+mpi_dkrz sn7113
darwin_ppc_g77 linux_ia32_g77+cg01 nec_sx6_dkrz sp3
(some deleted).
in the Makefile:
# by the command:
# ../../tools/genmake2 -mods=./code -fc=absoft_f77
# executed by:
# schaferk at m-r-schaferkotters-Computer.local.:/Users/schaferk/MITgcm/verification/plume_on_slope
#
# OPTFILE="../../tools/build_options/darwin_ppc_g77"
make generates many errors like:
[m-r-schaferkotters-Computer:~/MITgcm/verification/plume_on_slope] schaferk% make
g77 -Wimplicit -Wunused -Wuninitialized -O3 -funroll-loops -c chksum_tiled.f
chksum_tiled.f:4: undefined or invalid # directive
chksum_tiled.f: In subroutine `chksum_tiled':
chksum_tiled.f:9: undefined or invalid # directive
chksum_tiled.f:10: undefined or invalid # directive
chksum_tiled.f:14:
_RL fld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,NN,nSx,nSy)
^
Statement at (^) begins with invalid token [info -f g77 M LEX]
how do i specify which build_option to use? genmake2 -help revealed -fc (fortran name), so
i tried -fc=absoft_f77 with no success.
how to build on OSX using g77 and absoft_f77?
michael
More information about the MITgcm-support
mailing list