Hi,<br><br>Can anyone tell me how can I get 4-byte one? On the website of 95, i can not find the binary 95 for 4-byte for the X86-64. <br><br>Or what parameter in the configure does I need to choose to compile g95? I look through the mannual of G95, but I do not get it. Thanks a lot.
<br><br>Limin<br><br><div><span class="gmail_quote">2007/9/28, Matthias Krack <<a href="mailto:matthia...@psi.ch">matthia...@psi.ch</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Limin,<br><br>the error message seems to be clear. You are passing a 8-byte (Fortran)<br>integer constant to a libint routine compiled with default 4-byte<br>integers (g++). I guess you downloaded the g95 version with default 8-byte
<br>integers. If yes, I would suggest to download and use the g95 binary<br>build for 4-byte default integers.<br><br>AFAIK, the IBM compiler can also handle the C ISO BINDINGS, too, but I<br>have never tried it.<br><br>Matthias
<br><br>On Fri, 28 Sep 2007, <a href="mailto:lml...@gmail.com">lml...@gmail.com</a> wrote:<br><br>><br>> Hi,<br>> I download the new g95, the system is the Linux-X86-64 operton<br>> machine, infiniband, . Libinit-1.1.2
is installed. I try to compile<br>> the hybrid part (the normal cp2k is ok), it always appear this error<br>> for the libinit_interface.f90. . How can I solve this?<br>><br>> ...........................<br>> x86_64-unknown-linux-gnu-g95 -c -cpp -O3 -ffast-math
<br>> cp_control_types.f90<br>> x86_64-unknown-linux-gnu-g95 -c -cpp -O3 -ffast-math<br>> semi_empirical_parameters.f90<br>> x86_64-unknown-linux-gnu-g95 -c -cpp -O3 -ffast-math input_cp2k.f90<br>> x86_64-unknown-linux-gnu-g95 -c -cpp -O3 -ffast-math
<br>> libint_interface.f90<br>><br>> x86_64-unknown-linux-gnu-g95 -c -cpp -O3 -ffast-math<br>> libint_interface.f90<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:422<br>><br>> pc_result = pbuild(lib,1)
<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:450
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:478
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:506
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:534
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:562
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:590
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> In file /home/tool/code/cp2k/makefiles/../src/libint_interface.F:618
<br>><br>> pc_result = pbuild(lib,1)<br>> 1<br>> Error: Type mismatch in parameter 'np' at (1). Passing INTEGER(8) to<br>> INTEGER(4)<br>> make[1]: *** [libint_interface.o] Error 1
<br>> make[1]: *** Waiting for unfinished jobs....<br>> make[1]: Leaving directory `/clhome/limin/code/cp2k/obj/g95/sopt-<br>> libint'<br>> make: *** [build] Error 2<br>> 0:00.87 [150.5%] used.<br>>
<br>><br>> By the way, is it possible to use any other compiler except g95 for<br>> hybrid part?<br>> Any suggestions are welcome!<br>><br>> Limin<br>><br>><br>> ><br>><br><br>