Re: Make NAMD2.7b1 with cuda bug?

From: Charles Taylor (taylor_at_hpc.ufl.edu)
Date: Wed May 13 2009 - 09:29:27 CDT

I had the same problem when I built it. I just moved the declaration
of idlepoll outside the subroutine so it would be global within the
scope of the source file. That worked but is doesn't seem to be what
the developers intended. Something got lost somewhere in the
distribution.

Charlie Taylor
UF HPC Center

On May 13, 2009, at 9:56 AM, Roman Petrenko wrote:

> Good question, what is this flag for? When running namd on cuda, it is
> a required flag.
>
>
> On Tue, May 12, 2009 at 11:48 PM, Lev Lafayette <lev_at_vpac.org> wrote:
>> Hello NAMDers,
>>
>> I have just installed NAMD2.7b with cuda on our cluster. However
>> during the install process make failed because idlepoll was not
>> defined in src/BackEnd.C (line 135)
>>
>> The install is with openmpi/1.3.2-intel and intel/11.0 compilers.
>>
>> The configure command was ./config Linux-x86_64-icc --charm-arch
>> mpi-linux-x86_64 --with-cuda
>>
>> An attempt to make however results with:
>>
>> src/BackEnd.C(135): error: identifier "idlepoll" is undefined.
>>
>> As a dirty hack I've commented out the relevant lines in src/
>> BackEnd.C
>>
>>
>> //#ifdef NAMD_CUDA
>> // if ( ! idlepoll ) {
>> // NAMD_die("Please add +idlepoll to command line for proper
>> performance.");
>> // }
>> //#endif
>>
>> . and it seems to make just fine after this and test jobs work.
>>
>>
>> Regards,
>>
>> --
>> Lev Lafayette (03) 9925 4909, Systems Administrator, Victorian
>> Partnership for Advanced Computing
>> "If you are sending a reply to a message or a posting be sure you
>> summarize the original at the top of the message, or include just
>> enough text of the original to give a context. This will make sure
>> readers understand when they start to read your response."
>> RFC 1855
>>
>>
>
>
>
> --
> Roman Petrenko
> Physics Department
> University of Cincinnati
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:50:57 CST