64bit Integers

From NWChem

Viewed 339 times, With a total of 2 Posts
Jump to: navigation, search

Clicked A Few Times
Threads 4
Posts 8
Hi,

I just wanted to check something. I have compiled NWChem and linked to a 64bit blas library (ilp64) as
the doc say NEChem uses "64-bit integers (i.e. integer*8)".

Does this mean that it is only using 64-bit integers from FORTRAN?

If its using 64-bit integers in any of the C code, are they defined as long ?

I have had a poke around and from what I can see if the script that converts to 32 bit, it seems to only modify FORTRAN code.

--
jason
Edited On 4:13:04 AM PST - Tue, Feb 13th 2018 by Jasno

Forum Vet
Threads 9
Posts 1570
yes to all your questions
In the C interface to fortran we use the type Integer that is defined as long in the types2f2c.h header file

See
$NWCHEM_TOP/src/tools/install/types2f2c.h

$NWCHEM_TOP/src/util/util_memcpy.c

Clicked A Few Times
Threads 4
Posts 8
Quote:Edoapra Feb 13th 6:19 pm
yes to all your questions
In the C interface to fortran we use the type Integer that is defined as long in the types2f2c.h header file

See
$NWCHEM_TOP/src/tools/install/types2f2c.h

$NWCHEM_TOP/src/util/util_memcpy.c


Great, thanks for the confirmation.


Forum >> NWChem's corner >> Compiling NWChem



Who's here now Members 0 Guests 1 Bots/Crawler 0


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC