[Gate-users] ClusterTools - GJS jobsplitter - x86_64 patch
Samuel BURG
samuel_burg at yahoo.fr
Mon Jul 2 14:34:57 CEST 2007
Hello Jan De Beenhouwer,
Hello Patrice Descourt,
thank you very much for your work.
Hello everybody else,
This is a merge of 2 patchs for x86_64 arch :
patch from Patrice Descourt
patch from Jan De Beenhouwer
everyone who uses the jobsplitter in 64 bits architecture
should replace 3 lines in src/GateMacFileParser.cc
in GateMacfileParser::AddPWD(G4String key) replace
unsigned int pos=filename.rfind("/");
by long unsigned int pos=filename.rfind("/");
in void GateMacfileParser::FormatMacline() replace
unsigned int size=0;
by G4int size=0;
in void GateMacfileParser::RemoveExtension() replace
unsigned int pos=macline.rfind(".rndm");
by long unsigned int pos=macline.rfind(".rndm");
The diff output :
[lucie at node_2 src]# diff GateMacfileParser.cc.old GateMacfileParser.cc.new
441c441
< unsigned int pos=filename.rfind("/");
---
> long unsigned int pos=filename.rfind("/");
519c519
< unsigned int size=0;
---
> G4int size=0;
602c602
< unsigned int pos=macline.rfind(".rndm");//the only valid extension
---
> long unsigned int pos=macline.rfind(".rndm");//the only valid extension
Best regards,
Samuel BURG
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070702/8132ede6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GJS_Patch_x64.tar.gz
Type: application/x-gzip
Size: 6363 bytes
Desc: 125019428-GJS_Patch_x64.tar.gz
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070702/8132ede6/attachment.bin>
More information about the Gate-users
mailing list