Compilation errors

Bader charge density analysis

Moderator: moderators

Post Reply
hopkins
Posts: 1
Joined: Wed Oct 10, 2007 1:32 pm

Compilation errors

Post by hopkins »

I was asked to recompile the source code. However, using lf95,

lf95 -version
Lahey/Fujitsu Fortran 95 Compiler Release 7.10.02
Copyright (C) 1994-2004 Lahey Computer Systems. All rights reserved.
Copyright (C) 1998-2004 FUJITSU LIMITED. All rights reserved.

I get numerous errors in multipole_mod.f90 and also errors in other modules. Is the current source posted the latest source? I also notice references to libraries that are not part of the download.

Sincerely
Dave Hopkins
graeme
Site Admin
Posts: 2256
Joined: Tue Apr 26, 2005 4:25 am
Contact:

Post by graeme »

I used a very old version of lf95 (5.6) to build the bader executable on windows. Is this on windows or linux?

The lf95 windows makefile explicitly links in the library fj90f.lib to make a static binary. You should be able to comment this 'LINK = ... ' line and build a binary that links to the dynamic libraries on the system.

The multiple module is not yet used, and should not be linked into the executable. If you get errors in other modules and post them, we should be able to debug the problem.
Post Reply