<div>Dear Sir,</div>
<div>Thank you for your kind response.</div>
<div> </div>
<div> </div>
<div>I was not using using gfortran but using gcc( 3.4.6 version ) and g77.</div>
<div>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.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><strong>/home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/jl/errmem.c: In function `fail':<br>/home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/jl/errmem.c:15: warning: `noreturn' function does return<br>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<br>
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<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9584</strong></div>
<div><strong> IF(DFLAG) 50,10,30<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9623</strong></div>
<div><strong> IF(DFLAG)120,80,100<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9764</strong></div>
<div><strong> GO TO IGO,(120,150,180,210)<br> 1<br>Warning: Obsolete: Assigned GOTO statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9770</strong></div>
<div><strong> ASSIGN 120 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9782</strong></div>
<div><strong> ASSIGN 150 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9795</strong></div>
<div><strong> ASSIGN 180 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9806</strong></div>
<div><strong> ASSIGN 210 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:9815</strong></div>
<div><strong> IF(DFLAG)250,230,240<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br>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<br>
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<br>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<br>
In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17100</strong></div>
<div><strong> IF(SFLAG) 50,10,30<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17139</strong></div>
<div><strong> IF(SFLAG)120,80,100<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17277</strong></div>
<div><strong> GO TO IGO,(120,150,180,210)<br> 1<br>Warning: Obsolete: Assigned GOTO statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17283</strong></div>
<div><strong> ASSIGN 120 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17295</strong></div>
<div><strong> ASSIGN 150 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17308</strong></div>
<div><strong> ASSIGN 180 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17319</strong></div>
<div><strong> ASSIGN 210 TO IGO<br> 1<br>Warning: Obsolete: ASSIGN statement at (1)<br> In file /home/secg/cfd/vinayas/nek5000/nek5_svn/trunk/nek/3rd_party/blas.f:17328</strong></div>
<div><strong> IF(SFLAG)250,230,240<br> 1<br>Warning: Obsolete: arithmetic IF statement at (1)<br>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<br>
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<br>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<br>
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<br>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<br>
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<br>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<br>
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<br>
#############################################################<br># Compilation successful! #<br>#############################################################<br> text data bss dec hex filename<br>
2073815 2992 24176824 26253631 190993f nek5000</strong></div>
<div> </div>
<div>Thanks and regards</div>
<div>Vinaya<br> <br></div>
<div class="gmail_quote">On Thu, May 17, 2012 at 5:51 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><br>Are you using gfortran and gcc?<br><br>I would suggest setting these as your compiler in makenek<br>and also settig IFMPI to false in the makenek script.<br>
<br>Then,<br><br>makenek clean<br><br>before resuming your attempt to compile.<br><br>Best regards,<br><br>Paul
<div class="im"><br><br><br><br>On Thu, 17 May 2012, <a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<u></u>gov</a> wrote:<br><br></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">Dear Sir,<br><br>Iam trying to compile makenek in (x86_64 x86_64 x86_64 GNU/Linux)<br>environment<br>the error is:<br></div>*Unable to detect compiler!
<div class="im"><br> - don't know how to promote datatype REAL to 8 bytes<br> - don't know how to invoke the C pre-processor (CPP) before<br>compilation<br> Please edit the makefile and specify the requested compiler flags<br>
</div>using the P variable.*<br>**<br>*generating makefile ...*<br>**
<div class="im"><br>Plz help me in this regard<br>-- <br></div>*Vinaya Sivanandan*<br>*Pune*<br>**<br><br></blockquote>______________________________<u></u>_________________<br>Nek5000-users mailing list<br><a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.<u></u>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/<u></u>mailman/listinfo/nek5000-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>
<div><strong><font face="courier new,monospace">Vinaya Sivanandan</font></strong></div>
<div><strong><font face="Courier New">Pune</font></strong></div>
<div><strong><font face="Courier New"></font></strong> </div><br>