[CPMD-list] problems compiling

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Mon Sep 16 20:32:26 CEST 2002


On Mon, 16 Sep 2002 13:31:15 -0400 (EDT)  Natasa Mateljevic wrote:

> Hi,
> actually I get this when I run make:
> points.o rhoofr_kdp.o mm_detsp.o mm_init.o mm_dim.o mm_qmmm_forcedr.o 
> mm_mdmain.o mm_coninp.o mm_cpmd_add_MM_forces_f77.o 
> mm_cpmd_esp_charges_f77.o mm_cpmd_ext_pot_f77.o  sysdepend.o shmemory.o 
> -llapack -lblas    
> cpmd.o: In function `cpmd_':
> cpmd.o(.text+0x184): undefined reference to `build_cleanup_'
> cpmd.o(.text+0x1ac): undefined reference to `mm_detsp_'
> cpmd.o(.text+0x1b1): undefined reference to `mm_init_'
> cpmd.o(.text+0x1d9): undefined reference to `respin_p_'
> cpmd.o(.text+0x1f8): undefined reference to `pi_cntl_'
> cpmd.o(.text+0x1fd): undefined reference to `pi_init_'
> cpmd.o(.text+0x20c): undefined reference to `nmr_para_p_'
> cpmd.o(.text+0x358): undefined reference to `pi_mdpt_'
> cpmd.o(.text+0x369): undefined reference to `pi_wf_'
> cpmd.o(.text+0x41a): undefined reference to `response_p_'
> cpmd.o(.text+0x42d): undefined reference to `end_swap_'
> make: *** [cpmd.x] Error 1
> I am not sure if this is Ok.
> Natasa

no, of course it is not.

if you change options in the makefile you usually have
to compile _everything_ with the same set of options.

in order to do that please type: 

make clean

to delete all objects and then

make 

to recompile. 

cheers,
	axel.

> 
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
> 

--

=======================================================================
Axel Kohlmeyer      e-mail:  axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                   http://www.theochem.ruhr-uni-bochum.de
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list