Dear User:<br><br>I compiled GROMACS with OPEN64 without problems, Now I want to compile it using the ACML libraries to compare the performance<br><br>How I can compile gromacs using the ACML libraries?<br>I tried:<br><br>
./configure CC=opencc CXX=openCC F77=openf90 CFLAGS=&quot;-O3 -OPT:Ofast -march=barcelona -LGROMACS_SUITE/FFTW3.3_open64_sse2/lib -LGROMACS_SUITE/ACML4.4.0/open64_64/lib&quot; CPPFLAGS=-IGROMACS_SUITE/FFTW3.3_open64_sse2/include --with-fft=fftw3 --with-external-lapack --with-external-blas LIBS=-lacml<br>
<br>but it give me the following error:<br><br>configure:4430: opencc -O3 -OPT:Ofast -march=barcelona -L/home/acruz/bin/GROMACS_SUITE/FFTW3.3_open64_sse2/lib -L/home/acruz/bin/GROMACS_SUITE/ACM<br>L4.4.0/open64_64/lib -I/home/acruz/bin/GROMACS_SUITE/FFTW3.3_open64_sse2/include  conftest.c -lacml &gt;&amp;5<br>
/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `s_cmp&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `vcos&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `_F90_STOP&#39;<br>
/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `_FWF&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `vcosf&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `s_cat&#39;<br>
/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `__powii&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `__powdi&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `s_copy&#39;<br>
/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `_FRF&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `__powri&#39;<br>/home/acruz/bin/GROMACS_SUITE/ACML4.4.0/open64_64/lib/libacml.so: undefined reference to `_index90&#39;<br>
collect2: ld returned 1 exit status<br>configure:4434: $? = 1<br>configure:4471: result:<br>configure: failed program was:<br>| /* confdefs.h */                                                                                                                                <br>
| #define PACKAGE_NAME &quot;gromacs&quot;                                                                                                                  <br>| #define PACKAGE_TARNAME &quot;gromacs&quot;                                                                                                               <br>
| #define PACKAGE_VERSION &quot;4.5.4&quot;                                                                                                                 <br>| #define PACKAGE_STRING &quot;gromacs 4.5.4&quot;                                                                                                          <br>
| #define PACKAGE_BUGREPORT &quot;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&quot;                                                                                               <br>| #define PACKAGE_URL &quot;&quot;                                                                                                                          <br>
| #define PACKAGE &quot;gromacs&quot;                                                                                                                       <br>| #define VERSION &quot;4.5.4&quot;                                                                                                                         <br>
| #define GMX_SOFTWARE_INVSQRT /**/                                                                                                               <br>| #define GMX_QMMM_GAUSSIAN /**/                                                                                                                  <br>
| #define GMX_QMMM_ORCA /**/                                                                                                                      <br>| #define BUILD_TIME &quot;Tue Aug  9 14:22:58 EDT 2011&quot;                                                                                               <br>
| #define BUILD_USER &quot;acruz@micro1&quot;                                                                                                               <br>| #define BUILD_MACHINE &quot;Linux 2.6.34.7-0.5-desktop x86_64&quot;                                                                                       <br>
| /* end confdefs.h.  */                                                                                                                          <br>| #include &lt;stdio.h&gt;                                                                                                                              <br>
| int                                                                                                                                             <br>| main ()                                                                                                                                         <br>
| {                                                                                                                                               <br>| FILE *f = fopen (&quot;conftest.out&quot;, &quot;w&quot;);                                                                                                          <br>
|  return ferror (f) || fclose (f) != 0;                                                                                                          <br>|                                                                                                                                                 <br>
|   ;                                                                                                                                             <br>|   return 0;                                                                                                                                     <br>
| }                                                                                                                                               <br>configure:4477: error: in `/home/acruz/bin/GROMACS_SUITE/development/gromacs-4.5.4&#39;:                                                              <br>
configure:4481: error: C compiler cannot create executables                                                                                       <br>See `config.log&#39; for more details.                                                                                                                <br>
<br>How I could solve the problem?<br><br>Best regards,<br><br>Anthony Cruz<br>