Re: [AMBER] [PATCH 4/8] sqm: Fix OpenMP build

From: Ross Walker <ross.rosswalker.co.uk>
Date: Tue, 23 Oct 2012 10:00:36 -0700

>
>>
>> Hence the reason why most of this code is protected by #ifdef OPENMP and
>> thus it is not surprising turning on the blanket inclusion of OMP flags
>>in
>> the compiler results in a bunch of undefined references. You have to
>> specify #ifdef OPENMP as well. Note though that this will get you an
>> executable (hopefully) but there are then new qmmm name list flags and
>>the
>> way one runs the code is subtly different. Thus if you want to use it
>>and
>> experiment please do (note if you are linking to MKL you might have to
>>be
>> careful with that to get the right version of the MKL library for openMP
>> code). But it shouldn't be on in the normal configure.
>
>As I noted in other mail, I am using -DOPENMP, so the code in
>ifdefs is compiled, the code is just not cerrect enought to
>compile.

Yeah it's probably not been tested since I left TSRI in 2006. :-(

All the best
Ross

/\
\/
|\oss Walker

---------------------------------------------------------
| Assistant Research Professor |
| San Diego Supercomputer Center |
| Adjunct Assistant Professor |
| Dept. of Chemistry and Biochemistry |
| University of California San Diego |
| NVIDIA Fellow |
| http://www.rosswalker.co.uk | http://www.wmd-lab.org |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
---------------------------------------------------------

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.






_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Oct 23 2012 - 10:30:03 PDT
Custom Search