[cam-users] compilation error
Phil Rasch
pjr at ucar.edu
Mon Jul 19 11:33:19 MDT 2004
The relevant routines are found in a file called
...../cam1/models/utils/timing/f_wrappers.c
where the ..... indicate some component of your path particular to
your setup.
Since the portland group compiler is a standard component of our test
suite it is quite likely that your setup is corrupted in some
way. Please check your setup again.
It is quite possible that the problem is associated with somehow
corrupting your initial configuration, building some corrupted .o
files and then straightening your configuration out but not rebuilding
those corrupted .o files. You might get this behavior for example, by
switching compilers during the build.
I suggest that you do the following
1) repeat the step you used for configuring the model, eg
./configure arglist
where arglist is whatever argument list you have decided to use
2) type
make clean
to remove all previous .o files
3) type
make
and see whether you get a clean build this time.
Phil
On Mon, Jul 19, 2004 at 11:02:01AM -0400, Maisa Rojas Corradi wrote:
> Hello aain,
> I posted this message last week, but didn't get any replay...does someone
> know the answer???
> many thanks!
>
> ---------------------------- Original Message ----------------------------
> Subject: compilation error
> From: maisa at dgf.uchile.cl
> Date: Thu, July 15, 2004 10:02 am
> To: cam-users at ucar.edu
> --------------------------------------------------------------------------
>
> Hello,
> I am trying to compile CAM on our linux cluster with portland group
> fortran. and I get the following error when trying to link all the **.o
> files:
>
> atm_lndMod.o(.text+0x4de): undefined reference to `t_startf_'
> ....
>
>
> ..
>
> wrap_mpi.o(.text+0x19bb): undefined reference to `t_startf_'
> wrap_mpi.o(.text+0x1aa6): undefined reference to `t_stopf_'
>
>
>
> is t_start and t_stop a function/subroutine from CAM or should it be in
> one of the libraries on the system???
>
> thanks,
> Maisa
>
>
>
> --
> Maisa Rojas Corradi
> Departamento de Geofisica
> Universidad de Chile
> Blanco Encalada 2002
> Tel: 678 43 11
> _______________________________________________
> cam-users mailing list
> cam-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/cam-users
--
Phil Rasch, Climate Modeling Section, National Center for Atmospheric Research
Mail --> P.O. Box 3000, Boulder CO 80307
Shipping --> 1850 Table Mesa Dr, Boulder, CO 80305
email: pjr at ucar.edu, Web: http://www.cgd.ucar.edu/cms/pjr Phone: 303-497-1368, FAX: 303-497-1324
More information about the cam-users
mailing list