[Pw_forum] compiling error using __FFTMKL8 flag

Jess Kondor jess.kondor at gmail.com
Sat Jul 15 01:40:34 CEST 2006


Dear Developers,

 I tried to test FFT from MKL 8.1, but the compilation was unsuccessfull
(intel xeon em64t cluster, intel compilers 8.1, MKL8.1):

mpif90.i -O2 -assume byterecl -w -tpp7 -xP -axP -unroll  -nomodule -fpp
-D__LINUX64 -D__INTEL -D__FFTMKL8  -D__MPI -D__PARA -I../include
-I/home/jess/lib/cmkl/81/include -I. -I../Modules -I../PW -I../PH
-I../iotk/src -I../CPV -c fft_scalar.f90
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 291: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_forward_c(DFTI_Desc, a_tst)
---------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 300: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_forward_z(DFTI_Desc, a_tst)
---------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 309: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_c_out(DFTI_Desc, a_tst, a_tst_out)
--------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 319: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_z_out(DFTI_Desc, a_tst, a_tst_out)
--------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 329: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_forward_s(DFTI_Desc, a_tst)
---------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 338: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_forward_d(DFTI_Desc, a_tst)
---------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 347: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_s_out(DFTI_Desc, a_tst, a_tst_out)
--------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 357: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_sc_out(DFTI_Desc, a_tst, a_tst_out)
---------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 367: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_d_out(DFTI_Desc, a_tst, a_tst_out)
--------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 377: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_forward_dz_out(DFTI_Desc, a_tst, a_tst_out)
---------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 390: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_backward_c(DFTI_Desc , a_tst)
-----------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 399: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_backward_z(DFTI_Desc , a_tst)
-----------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 408: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_c_out(DFTI_Desc , a_tst, a_tst_out)
----------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 418: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_z_out(DFTI_Desc , a_tst, a_tst_out)
----------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 428: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_backward_s(DFTI_Desc , a_tst)
-----------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 437: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST]
        FUNCTION dfti_compute_backward_d(DFTI_Desc , a_tst)
-----------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 446: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_s_out(DFTI_Desc , a_tst, a_tst_out)
----------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 456: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_cs_out(DFTI_Desc , a_tst, a_tst_out)
-----------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 466: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_d_out(DFTI_Desc , a_tst, a_tst_out)
----------------------------------------------------------------^
fortcom: Error: /home/jess/lib/cmkl/81/include/mkl_dfti.f90, line 476: The
INTENT(OUT) or INTENT(INOUT) attribute is not allowed for arguments received
by value.   [A_TST_OUT]
        FUNCTION dfti_compute_backward_zd_out(DFTI_Desc , a_tst, a_tst_out)
-----------------------------------------------------------------^
fortcom: Error: fft_scalar.f90, line 203: The INTENT(OUT) or INTENT(INOUT)
attribute is not allowed for arguments received by value.   [A_TST]
       FUNCTION dfti_compute_forward_z(DFTI_Desc, a_tst)
--------------------------------------------------^
fortcom: Error: fft_scalar.f90, line 212: The INTENT(OUT) or INTENT(INOUT)
attribute is not allowed for arguments received by value.   [A_TST_OUT]
       FUNCTION dfti_compute_forward_z_out(DFTI_Desc, a_tst, a_tst_out)
-------------------------------------------------------------^
fortcom: Error: fft_scalar.f90, line 238: The INTENT(OUT) or INTENT(INOUT)
attribute is not allowed for arguments received by value.   [A_TST]
       FUNCTION dfti_compute_backward_z(DFTI_Desc , a_tst)
----------------------------------------------------^
fortcom: Error: fft_scalar.f90, line 247: The INTENT(OUT) or INTENT(INOUT)
attribute is not allowed for arguments received by value.   [A_TST_OUT]
       FUNCTION dfti_compute_backward_z_out(DFTI_Desc , a_tst, a_tst_out)
---------------------------------------------------------------^
fortcom: Error: fft_scalar.f90, line 275: Error in opening the Library
module file.   [DFTI_WRAPPER]       use DFTI_WRAPPER
-----------^
fortcom: Error: fft_scalar.f90, line 503: This name does not have a type,
and must have an explicit type.   [DFTIFREEDESCRIPTOR]
         Status =  DftiFreeDescriptor(Desc_Handle(icurrent))
-------------------^
fortcom: Error: fft_scalar.f90, line 509: This name does not have a type,
and must have an explicit type.   [DFTICREATEDESCRIPTOR]
       Status = DftiCreateDescriptor(Desc_Handle(icurrent) , &
----------------^
fortcom: Error: fft_scalar.f90, line 518: This name does not have a type,
and must have an explicit type.   [DFTISETVALUE]
       Status =
DftiSetValue(Desc_Handle(icurrent),DFTI_INPUT_STRIDES,StrideArray)
-----------------^
fortcom: Error: fft_scalar.f90, line 530: This name does not have a type,
and must have an explicit type.   [DFTICOMMITDESCRIPTOR]
       Status = DftiCommitDescriptor(Desc_Handle(icurrent))
----------------^
fortcom: Error: fft_scalar.f90, line 625: This name does not have a type,
and must have an explicit type.   [DFTICOMPUTEFORWARD]
        Status =  DftiComputeForWard(Desc_Handle(ip), c , cout)
------------------^
fortcom: Severe: Too many errors, exiting
compilation aborted for fft_scalar.f90 (code 1)
make: *** [fft_scalar.o] Error 1

  Is it fixed yet?

J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20060714/f0702e85/attachment.html>


More information about the users mailing list