AMBER Archive (2000)

Subject: Re: compiling problems

From: Todd J. Minehardt (tjm_at_Princeton.EDU)
Date: Wed Sep 13 2000 - 10:02:24 CDT


you need to use the -u option on the compiler line to turn off implicit variable typing......tjm

On Wed, 13 Sep 2000, Paolo Dapporto wrote:

> I'm trying to compile AMBER 6.0 on the following machine:
>
> IBM RISC 44P,
> operating system: AIX v4.3.3
> C compiler: compiler for AIX v4.4
> fortran compiler: XL Fortran v 6.1
>
> But I have found the following problems:
>
> -------------------------------------------------------------
> ** do_energy_task === End of Compilation 1 ===
> "_ew_direct_.f", line 78.16: 1514-134 (E) Integer pointers must not be
> assigned types. Type specification is ignored.
> ** do_list_task === End of Compilation 2 ===
> "_ew_direct_.f", line 168.16: 1514-134 (E) Integer pointers must not be
> assigned types. Type specification is ignored.
> ** ewald_list === End of Compilation 3 ===
> ** get_nb_energy === End of Compilation 4 ===
> "_ew_direct_.f", line 484.17: 1514-134 (E) Integer pointers must not be
> assigned types. Type specification is ignored.
> ** get_nb_list === End of Compilation 5 ===
> "_ew_direct_.f", 1500-030 (I) INFORMATION: grid_image: Additional
> optimization may be attained by recompiling and specifying MAXMEM option
> with a value greater than 2048.
> ** grid_image === End of Compilation 6 ===
> ** grid_pointers === End of Compilation 7 ===
> ** grid_ucell === End of Compilation 8 ===
> "_ew_direct_.f", line 790.16: 1514-134 (E) Integer pointers must not be
> assigned types. Type specification is ignored.
> "_ew_direct_.f", 1500-030 (I) INFORMATION: pack_nb_list: Additional
> optimization may be attained by recompiling and specifying MAXMEM option
> with a value greater than 2048.
> ** pack_nb_list === End of Compilation 9 ===
> ** save_frac_crds === End of Compilation 10 ===
>
>
> "_gibb_.f", line 2774.18: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 1953.40: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2029.40: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2033.40: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2136.29: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2137.29: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2160.29: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2161.29: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2207.51: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2208.51: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2327.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2328.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2329.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2330.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2331.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2332.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2333.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2334.12: 1516-023 (E) Subscript is out of bounds.
> "_machinedep_.f", line 2335.12: 1516-023 (E) Subscript is out of bounds.
>
>
> cat statistics_independent.f | /lib/cpp -P -DDPREC -Drs6000 -DISTAR2
> -DMEM_ALLOC -DEWALD -DCLINK_PLAIN > _statistics_independent_.f
> xlf -O -c _statistics_independent_.f
> ** _main === End of Compilation 1 ===
> "_statistics_independent_.f", line 599.1: 1511-066 (E) Unconditional GO TO
> statement refers to statement inside a DO-loop, IF block, CASE construct,
> WHERE construct or FORALL construct with label 160. Transfer of control
> into a DO-loop, IF block, CASE construct, WHERE construct or FORALL
> construct is not permitted. Check program flow.
> ** read_all === End of Compilation 2 ===
> ** noblank === End of Compilation 3 ===
>
>
> 1501-510 Compilation successful for file _nukit_.f.
> ../Compile LOAD -o nukit nukit.o
> xlf -o nukit nukit.o
> /bin/mv ambpdb nucgen nukit ../../exe/
> cd leap; xmkmf
> /bin/sh: xmkmf: not found.
> make: 1254-004 The error code from the last command is 127.
> ------------------------------------------------------------
>
>
> May someone help me?
>
> Paolo Dapporto
>
> ----------------------------------------------------------
> Prof Paolo Dapporto
> Dip. di Energetica "S.Stecco"-Univ. di Firenze
> via S. Marta 3, 50139 Firenze
> tel 055-4796209, fax 055-4796342
> e-mail: dapporto_at_ingfi1.ing.unifi.it
>

-- 
Todd J. Minehardt (tjm_at_princeton.edu)
Department of Chemistry
Princeton University
Princeton, NJ 08544-1009
Phone: 609.258.1932
Fax: 609.258.6746