memset gnu compiler

Qbox installation issues
Forum rules
You must be a registered user to post in this forum. Registered users may also post new topics if they consider that their subject do not correspond to any topic already present on the forum.
Post Reply
Posts: 5
Joined: Wed Oct 15, 2008 7:33 pm

memset gnu compiler

Post by correaa » Tue Mar 01, 2011 9:44 am

In order to avoid these 'memset' and 'strlen' errors during compilation with GNU compiler:

$; make
/opt/mvapich-gnu-gen2-0.9.9/bin/mpiCC -g -Wunused -DLinux_x8664 -I/opt/mvapich-gnu-gen2-0.9.9//include -I/usr/lib64 -I/g/g91/correaa/usr/include -DIA32 -DUSE_FFTW -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DSCALAPACK -DADD_ -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES -DTARGET='"hera-mpichgcc"' -c -o StructureFactor.o StructureFactor.C
StructureFactor.C: In member function 'void StructureFactor::update(const std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, const Basis&)':
StructureFactor.C:90: error: 'memset' was not declared in this scope
make: *** [StructureFactor.o] Error 1

I suggest to
at the top of StructureFactor.C and SampleWriter.C

I suggest this based on gcc 4.4 and qbox 1.53.2. -- Thanks

Site Admin
Posts: 145
Joined: Tue Jun 17, 2008 7:03 pm

Re: memset gnu compiler

Post by fgygi » Tue Mar 01, 2011 4:56 pm

Thanks Alfredo. This will be included in the next release.

Post Reply