<div style="color:#000; font-size: 14px;font-family: arial;"><div>Much thanks for Jonathan.<br>I know that idamax is a function in BLAS, and I had tested it.<br><br>!test.f90<br>program main<br> real*8 a(4) <br> data a /1.0D0,3.0D0,9.0D0,8.0D0/<br> print *, idamax(4,a,1)<br> end program<br>! end test.f90<br><br>gfortran test.f90 -L/lib -lopenblas<br>./a.exe<br>3<br>It runs correctly.<br><br>As for underscores, I am confused, and I have no idea how to correct it. The compilation has confused me for a long time, thanks for any one who help me overcome it.<br>I am sorry for that I cannot follow the post in the list.<br><br><pre>>idamax_ is a symbol that shuold be defined by your BLAS library. Check
>if your openblas is defining it or not using dependency checker or
>similar (it may be that it has more or fewer underscores depending on
>how openblas compilation options).
>Jonathan.</pre><br></div><div><br></div><div><br></div><div><br></div></div><!-- jy5ContentSuffix --><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>