[Gate-users] What about the finte() function

Jan De Beenhouwer jan.debeenhouwer at ugent.be
Fri Jun 26 08:58:35 CEST 2009


Dounia,

The finite function is there to check whether the iontime has a finite
value or not. It is not standard ANSI C, which is why it might be a
problem to compile it. Try replacing it with isfinite() and include
math.h in the header file. If that fails, you could replace it by
checking the boundaries explicitly.  
Try to search the archives, because this question has been answered 
before.

All the best,

Jan
 

On Thu, 2009-06-25 at 08:47 -0400, dounia84 at aol.com wrote:
> Dear Gaters,
> 
> i am having some troubles recently with a function called in the gate
> filemerger. This one appears only once at line 1483 of
> GateMergeManager.cc and is does not seem to be defined. This is a
> problem because i cannot compile this merger and so i cannot get my
> first parallelized results...
> Any ideas what went wrong?
> Thank for your help...
> 
> [dtaleb at nick3 filemerger]$ make
> 
> creating object file for src/GateMergeManager
> src/GateMergeManager.cc: In member function 'bool
> GateMergeManager::MergeGate(TChain*)':
> src/GateMergeManager.cc:1483: error: 'finite' was not declared in this
> scope
> make: *** [tmp/src/GateMergeManager.o] Error 1
> 
> 
> Here is the beginning of the Makefile associated with the merger:
> 
> EXE     = gjm
> SRCDIRS = . src 
> INCDIRS = . include $(ROOTSYS)/include
> LIBS    = -L$(ROOTSYS)/lib:/usr/lib64 -lCore -lCint -lRIO -lNet -lHist
> -lGraf -lGraph3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics
> -lMathCore -lThread -pthread -lm -ldl -rdynamic 
> 

> 
-- 
dr. ir. Jan De Beenhouwer
Ghent University - IBBT
IBITECH - MEDISIP
De Pintelaan 185
Block B - 502a
B-9000 Ghent
Tel. +32-9-332.02.58
Fax: +32-9-332.33.90
E-mail: <Jan.DeBeenhouwer at UGent.be>




More information about the Gate-users mailing list