From NWChem
Viewed 339 times, With a total of 2 Posts
|
Clicked A Few Times
Threads 4
Posts 8
|
|
4:12:43 AM PST - Tue, Feb 13th 2018 |
|
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
|
|
|
-
Edoapra Forum:Admin, Forum:Mod, bureaucrat, sysop
|
|
Forum Vet
Threads 9
Posts 1570
|
|
10:19:15 AM PST - Tue, Feb 13th 2018 |
|
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
|
|
1:14:42 AM PST - Wed, Feb 14th 2018 |
|
Quote:Edoapra Feb 13th 6:19 pmyes 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.
|
|
|
AWC's:
2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC