[CPMD-list] F90 linking problem

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Wed Jul 16 19:05:55 CEST 2003


On Tue, 15 Jul 2003 17:01:10 -0400  "Luis Agapito" wrote:

> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0001_01C34AF2.B111F130
> Content-Type: text/plain;
> 	charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> Hello everybody,
> I'm installing CPMD v3.7.0 on a DEC-ALPHA machine using the MPI method
> for parallelizing. I got this error in the linking step, Am I missing
> any library? (maybe related with the lfmpi option for the F90), where
> could I get more information about that?
> Thanks
>  
>  
> nmr_position_p.o  hardness_p.o respin_p.o response_p.o restart_p.o
> pert_kpoint_
> p.o dnlpdk_p.o rnl_dk_p.o  kpert_potential_p.o  up3_p.o friesner_c_p.o
> matrix_p
> .o ks_ener_p.o kpert_util_p.o fukui_p.o kdp_diag.o kdp_prep.o kdp_rho.o
> kdp_stre
> ss_kin.o kdpoints.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 vdwin.o vdw.o  sysdepend.o shmemory.o -ldxml
> -lfmpi -l
> mpi -lrt -pthread
> ld:
> Can't locate file for: -lfmpi
> f90: Severe: Failed while trying to link.
> *** Exit 1
> Stop.


hi,

you probably only have to specify the directory, e.g. by
-L/usr/mpi/lib. 
you can try: 
locate libfmpi.a
or 
locate libfmpi.a
or
find /usr -name libfmpi.a -print
or
ask your local system administrator 

to find out what the actual directory is.
_if_ mpi support _is_ installed, that is.

hope this helps,
	axel kohlmeyer.


>  
> ------------------------------------------------------------------------
> ----------
> Luis A. Agapito
> Department of Electrical Engineering
> University of South Carolina
> Phone: 803-777-0720
> Moletronics Group: http://www.ee.sc.edu/research/moletronics/
> E-mail: agapito at engr.sc.edu
>  

--

=======================================================================
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