[Nek5000-users] compilation error

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri May 18 02:22:38 CDT 2012


Dear Sir,
Yes, it is able to run.
Thanks a lot.

with regards,
Vinaya



On Fri, May 18, 2012 at 12:07 PM, <nek5000-users at lists.mcs.anl.gov> wrote:

>
> Hi,
>
> Warnings are fairly standard.
>
> Is it able to run?
>
> Paul
>
>
> On Fri, 18 May 2012, nek5000-users at lists.mcs.anl.**gov<nek5000-users at lists.mcs.anl.gov>wrote:
>
> Dear Sir,
>>
>> Thank you for your kind response.
>>
>>
>> I was not using using gfortran but using gcc( 3.4.6 version ) and g77.
>> After using gfortran(GNU Fortran 95 (GCC) 4.1.0 and gcc( 3.4.6 version ).
>> I
>> could compile makenek  but with warnings.Below are the warnings which I
>> get
>> while compiling.
>>
>>
>>
>>
>> */home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**errmem.c: In
>> function
>>
>> `fail':
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**errmem.c:15:
>> warning:
>> `noreturn' function does return
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**crystal.c -o
>> obj/jl_crystal.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/findpts.c
>> -o
>> obj/jl2_findpts.o
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9584*
>> *               IF(DFLAG) 50,10,30
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9623*
>> *          IF(DFLAG)120,80,100
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9764*
>> *      GO TO IGO,(120,150,180,210)
>>
>>             1
>> Warning: Obsolete: Assigned GOTO statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9770*
>> *               ASSIGN 120 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9782*
>> *               ASSIGN 150 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9795*
>> *               ASSIGN 180 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9806*
>> *               ASSIGN 210 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:9815*
>> *          IF(DFLAG)250,230,240
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**
>> ../jl2/findpts_local.c
>> -o obj/jl2_findpts_local.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/obbox.c
>> -o
>> obj/jl2_obbox.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/poly.c -o
>> obj/jl2_poly.o
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17100*
>> *               IF(SFLAG) 50,10,30
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17139*
>> *          IF(SFLAG)120,80,100
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17277*
>> *      GO TO IGO,(120,150,180,210)
>>
>>             1
>> Warning: Obsolete: Assigned GOTO statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17283*
>> *               ASSIGN 120 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17295*
>> *               ASSIGN 150 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17308*
>> *               ASSIGN 180 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17319*
>> *               ASSIGN 210 TO IGO
>>
>>                                                                      1
>> Warning: Obsolete: ASSIGN statement at (1)
>> In file
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/**
>> 3rd_party/blas.f:17328*
>> *          IF(SFLAG)250,230,240
>>
>>                                                                      1
>> Warning: Obsolete: arithmetic IF statement at (1)
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/lob_bnd.c
>> -o
>> obj/jl2_lob_bnd.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**
>> ../jl2/findpts_el_3.c
>> -o obj/jl2_findpts_el_3.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**
>> ../jl2/findpts_el_2.c
>> -o obj/jl2_findpts_el_2.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**
>> ../jl2/sparse_cholesky.c
>> -o obj/jl2_sparse_cholesky.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/xxt.c -o
>> obj/jl2_xxt.o
>> gcc -c  -O2 -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -DPREFIX=jl_
>> /home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek/jl/**../jl2/fcrs.c -o
>> obj/jl2_fcrs.o
>> gfortran -c  -O2 -fcray-pointer -fdefault-real-8 -x f77-cpp-input
>> -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>> -I/home/secg/cfd/vinayas/**nek5000/testnek/rayleigh1
>> -I/home/secg/cfd/vinayas/**nek5000/nek5_svn/trunk/nek -I./
>> /home/secg/cfd/vinayas/**nek5000/testnek/rayleigh1/**rayleigh.f -o
>> obj/rayleigh.o
>> gfortran -o nek5000  obj/rayleigh.o obj/drive.o obj/drive1.o obj/drive2.o
>> obj/plan4.o obj/bdry.o obj/coef.o obj/conduct.o obj/connect1.o
>> obj/connect2.o obj/dssum.o obj/edgec.o obj/eigsolv.o obj/gauss.o
>> obj/genxyz.o obj/navier1.o obj/makeq.o obj/navier0.o obj/navier2.o
>> obj/navier3.o obj/navier4.o obj/prepost.o obj/speclib.o obj/map2.o
>> obj/turb.o obj/mvmesh.o obj/ic.o obj/ssolv.o obj/planx.o obj/math.o
>> obj/mxm_wrapper.o obj/hmholtz.o obj/gfdm_par.o obj/gfdm_op.o
>> obj/gfdm_solve.o obj/subs1.o obj/subs2.o obj/genbox.o obj/gmres.o
>> obj/hsmg.o obj/convect.o obj/induct.o obj/perturb.o obj/navier5.o
>> obj/navier6.o obj/navier7.o obj/navier8.o obj/fast3d.o obj/fasts.o
>> obj/calcz.o obj/byte.o obj/chelpers.o obj/byte_mpi.o obj/postpro.o
>> obj/cvode_driver.o obj/nek_comm.o obj/init_plugin.o obj/setprop.o
>> obj/qthermal.o obj/cvode_aux.o obj/makeq_aux.o obj/papi.o obj/ssygv.o
>> obj/dsygv.o obj/mxm_std.o obj/blas.o obj/comm_mpi.o obj/mpi_dummy.o
>> obj/jl2_gs.o obj/jl2_sort.o obj/jl2_sarray_transfer.o
>> obj/jl2_sarray_sort.o
>> obj/jl2_gs_local.o obj/jl2_crystal.o obj/jl2_comm.o obj/jl2_tensor.o
>> obj/jl2_fail.o obj/jl2_fcrystal.o obj/jl_tuple_list.o obj/jl_transfer.o
>> obj/jl_sort.o obj/jl_fcrystal.o obj/jl_errmem.o obj/jl_crystal.o
>> obj/jl2_findpts.o obj/jl2_findpts_local.o obj/jl2_obbox.o obj/jl2_poly.o
>> obj/jl2_lob_bnd.o obj/jl2_findpts_el_3.o obj/jl2_findpts_el_2.o
>> obj/jl2_sparse_cholesky.o obj/jl2_xxt.o obj/jl2_fcrs.o
>> ##############################**##############################**#
>> #                  Compilation successful!                  #
>> ##############################**##############################**#
>>  text    data     bss     dec     hex filename
>> 2073815    2992 24176824        26253631        190993f nek5000*
>>
>>
>> Thanks and regards
>> Vinaya
>>
>> On Thu, May 17, 2012 at 5:51 PM, <nek5000-users at lists.mcs.anl.**gov<nek5000-users at lists.mcs.anl.gov>>
>> wrote:
>>
>>
>>> Are you using gfortran and gcc?
>>>
>>> I would suggest setting these as your compiler in makenek
>>> and also settig IFMPI to false in the makenek script.
>>>
>>> Then,
>>>
>>> makenek clean
>>>
>>> before resuming your attempt to compile.
>>>
>>> Best regards,
>>>
>>> Paul
>>>
>>>
>>>
>>>
>>> On Thu, 17 May 2012, nek5000-users at lists.mcs.anl.****gov<
>>> nek5000-users at lists.mcs.**anl.gov <nek5000-users at lists.mcs.anl.gov>
>>> >wrote:
>>>
>>>  Dear Sir,
>>>
>>>>
>>>> Iam trying to compile makenek in (x86_64 x86_64 x86_64 GNU/Linux)
>>>> environment
>>>> the error is:
>>>> *Unable to detect compiler!
>>>>
>>>>      - don't know how to promote datatype REAL to 8 bytes
>>>>      - don't know how to invoke the C pre-processor (CPP) before
>>>> compilation
>>>>     Please edit the makefile and specify the requested compiler flags
>>>> using the P variable.*
>>>> **
>>>> *generating makefile ...*
>>>> **
>>>>
>>>> Plz help me in this regard
>>>> --
>>>> *Vinaya Sivanandan*
>>>> *Pune*
>>>> **
>>>>
>>>> ______________________________****_________________
>>>>
>>> Nek5000-users mailing list
>>> Nek5000-users at lists.mcs.anl.****gov <Nek5000-users at lists.mcs.anl.**gov<Nek5000-users at lists.mcs.anl.gov>
>>> >
>>> https://lists.mcs.anl.gov/****mailman/listinfo/nek5000-users<https://lists.mcs.anl.gov/**mailman/listinfo/nek5000-users>
>>> **<https://lists.mcs.anl.gov/**mailman/listinfo/nek5000-users<https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users>
>>> **>
>>>
>>>
>>
>>
>> --
>> *Vinaya Sivanandan*
>> *Pune*
>> **
>>
>>  ______________________________**_________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.**gov <Nek5000-users at lists.mcs.anl.gov>
> https://lists.mcs.anl.gov/**mailman/listinfo/nek5000-users<https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users>
>



-- 
*Vinaya Sivanandan*
*Pune*
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20120518/7fb64d2a/attachment.html>


More information about the Nek5000-users mailing list