<div>Hi,</div><div> </div>    Thanks. It is working now. I need one more suggestion. I read that cp2k compiled with libsmm can improve performance by 10%. Is it true in all types of calculations like opt, vibrational analysis, MD ?<div>
<br></div><div>Now, i am using Intel MKL. </div><div><br></div><div>Thanks.</div><div><br>Regards,</div><div>Sandeep<br><br><div class="gmail_quote">On Mon, Oct 15, 2012 at 1:48 PM, Urban Borštnik <span dir="ltr"><<a href="mailto:urban.b...@gmail.com" target="_blank">urban.b...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
>From a quick check it seems that the Intel-compiled programs wrap output<br>
at 80 columns, generating incorrect source code.  From my quick check it<br>
seems that there is no way to solve this at run-time.<br>
<br>
So, open up tiny_gen.f90 and on line 66 change<br>
write(6,*)<br>
to<br>
write(6,'(A200)')<br>
(this is the line that prints a "write..best_loop,best_mu, ...", just<br>
before the line that prints "END PROGRAM tiny_find".<br>
<br>
Similarly, open up small_gen.f90 and go to line 101.  Again, change<br>
write(6,*)<br>
to<br>
write(6,'(A200)')<br>
(this is the line just before the line that prints "END PROGRAM").<br>
<br>
<br>
In theory all the code-generating programs (*_gen.f90) could be compiled<br>
with gfortran, but it would have to be done manually and I found this to<br>
be easier.<br>
<br>
Regards,<br>
Urban.<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, 2012-10-13 at 02:36 -0700, sandeep wrote:<br>
> Dear all,<br>
>                I would like to compile libssm library and use it in<br>
> cp2k compilation. But it gives following error in beginning.<br>
><br>
><br>
><br>
><br>
> make<br>
><br>
><br>
> printf " INTEGER, PARAMETER :: indx(0:23)=&\n<br>
> (/0,1,0,0,2,3,4,0,0,5,0,0,0,6,0,0,7,8,0,0,0,0,9,10/)\n" >><br>
> lib/smm_dnn.f90.tmp<br>
><br>
> printf "END SUBROUTINE smm_dnn\n" >> lib/smm_dnn.f90.tmp<br>
> mv lib/smm_dnn.f90.tmp lib/smm_dnn.f90<br>
> cd lib ; ifort   -c smm_dnn.f90<br>
> ifort  -c mults.f90<br>
> ifort  -o multrec_gen.o -c multrec_gen.f90<br>
> ifort  -o lib_gen.x lib_gen.f90 mults.o multrec_gen.o<br>
> ifort  -o tiny_gen.x tiny_gen.f90 mults.o<br>
> mkdir -p run_tiny_1_1_2<br>
> ./tiny_gen.x 1 1 2 1 1 > run_tiny_1_1_2/tiny_find.f90<br>
> cd run_tiny_1_1_2 ; ifort   tiny_find.f90 -o tiny_find.x.tmp && mv<br>
> tiny_find.x.tmp tiny_find.x<br>
> tiny_find.f90(251): error #5082: Syntax error, found ',' when<br>
> expecting one of: <LABEL> <END-OF-STATEMENT> ; BLOCK BLOCKDATA PROGRAM<br>
> MODULE TYPE BYTE CHARACTER ...<br>
>  , (flops*Niter/best_time)/gflop<br>
> -^<br>
> tiny_find.f90(251): error #6345: Either a PAUSE, STOP or ERROR STOP<br>
> statement has an invalid argument.<br>
>  , (flops*Niter/best_time)/gflop<br>
> --------------------------^<br>
> compilation aborted for tiny_find.f90 (code 1)<br>
> make: *** [run_tiny_1_1_2/tiny_find.x] Error 1<br>
><br>
><br>
><br>
><br>
> compiler :  ifort<br>
><br>
><br>
> flags  :  FCFLAGS = -O2 -funroll-loops -free<br>
><br>
><br>
> Can anybody help me  ?  Thanks alot.<br>
><br>
><br>
> Regards,<br>
> Sandeep<br>
><br>
><br>
> --<br>
> You received this message because you are subscribed to the Google<br>
> Groups "cp2k" group.<br>
> To view this discussion on the web visit<br>
> <a href="https://groups.google.com/d/msg/cp2k/-/dkNwGKiCkoYJ" target="_blank">https://groups.google.com/d/msg/cp2k/-/dkNwGKiCkoYJ</a>.<br>
> To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
> To unsubscribe from this group, send email to cp2k<br>
> +<a href="mailto:unsub...@googlegroups.com">unsub...@googlegroups.com</a>.<br>
> For more options, visit this group at<br>
> <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/group/cp2k?hl=en</a>.<br>
<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com">cp...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:cp2k%2Bun...@googlegroups.com">cp2k+uns...@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/cp2k?hl=en" target="_blank">http://groups.google.com/group/cp2k?hl=en</a>.<br>
<br>
</div></div></blockquote></div><br></div>