[MITgcm-support] Pb with compilation: make:

Ed Hill ed at eh3.com
Mon Jun 6 15:36:14 EDT 2005


On Mon, 2005-06-06 at 15:23 -0400, Nicolas Wienders wrote:
> 
> >   MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
> >   
> Using this ones improves thinks a little bit.
> Most of the compilation goes correctly besides now
> those errors at the very end:
> 
> 
>  .../ quasihydrostaticterms.o read_write.o read_write_rec.o
> set_defaults.o solve_for_pressure.o solve_pentadiagonal.o
> solve_tridiagonal.o state_summary.o swfrac.o the_correction_step.o
> the_main_loop.o the_model_main.o thermodynamics.o timestep.o
> timestep_tracer.o tracers_correction_step.o update_cg2d.o
> update_etah.o update_r_star.o update_surf_dr.o write_grid.o
> write_myfield.o write_state.o ptwrapper.o tim.o timer_stats.o
> /usr/bin/ld: Undefined symbols:
> _system_time
> _timenow
> _user_time
> make: *** [mitgcmuv] Error 1


Hi Nicolas,

Please add this line:

  FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"

to your optfile and try again.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the MITgcm-support mailing list