LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SOFTWARE Archives


HPS-SOFTWARE Archives

HPS-SOFTWARE Archives


HPS-SOFTWARE@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SOFTWARE Home

HPS-SOFTWARE Home

HPS-SOFTWARE  November 2013

HPS-SOFTWARE November 2013

Subject:

Re: Running SLIC Locally

From:

"McCormick, Jeremy I." <[log in to unmask]>

Reply-To:

Software for the Heavy Photon Search Experiment <[log in to unmask]>

Date:

Thu, 7 Nov 2013 11:02:28 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (354 lines)

I believe that's due to using an old version of the GDML schema.

-----Original Message-----
From: Kyle McCarty [mailto:[log in to unmask]]
Sent: Thursday, November 07, 2013 10:20 AM
To: McCormick, Jeremy I.
Cc: hps-software
Subject: Re: Running SLIC Locally

Hello hps-software,


SLIC is indeed running now, but I did get a new error that I have not seen before. I have included it below:


error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1206 column: 56 no declaration found for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1206 column: 56 attribute 'type' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1206 column: 56 attribute 'unit' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1206 column: 56 attribute 'value' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1209 column: 18 element 'NIL' is not allowed for content model '((property+),(RL|RLref),(AL|ALref),(T|Tref),(P|Pref),(MEE|MEEref),(D|Dref),(atom|composite+|fraction+))'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1215 column: 56 no declaration found for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1215 column: 56 attribute 'type' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1215 column: 56 attribute 'unit' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1215 column: 56 attribute 'value' is not declared for element 'NIL'
error:  systemId: /net/data/taro/kylem/hps-software/hps-detectors/detectors/HPS-Proposal2014-v4-6pt6/HPS-Proposal2014-v4-6pt6.lcdd line: 1218 column: 18 element 'NIL' is not allowed for content model '((property+),(RL|RLref),(AL|ALref),(T|Tref),(P|Pref),(MEE|MEEref),(D|Dref),(atom|composite+|fraction+))'
=>> PBS: job killed: walltime 334 exceeded limit 300


All of the errors seem to be related to the use of 'NIL' within the LCDD file. Any ideas as to the cause? If it helps, this error did not occur immediately - it took around 600 events or so beforehand.


Thanks, and sorry for all the errors!


- Kyle



On Thu, Nov 7, 2013 at 12:32 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:


        Hi,

        I believe the issue here was that I removed the GDML schemas from the LCDD package, as they were duplicated from GDML.  Consequently, at runtime it would only find the LCDD xsd files and not the GDML ones unless you had manually copied them.  The init_ilcsoft.sh script actually sets the GDML_SCHEMA_DIR to the LCDD base area, so if you had them installed elsewhere it is possible your configuration was being overridden by this setting.

        Probably the best solution would be having ilcinstall do the schema installation for both LCDD and GDML automatically.  I'm not sure that the XML parser at this point has the capability to use multiple search directories or at least right now the only interface to it is the GDML_SCHEMA_DIR directory.  It would be possible to add a macro command that would allow multiple search directories.


        -Jeremy

        On Nov 7, 2013, at 9:14 AM, Kyle McCarty <[log in to unmask]> wrote:


                Hello all,


                Okay, I reinstalled SLIC and am now using version 3.1.4 and GEANT4 version 9.6.1. When running the first time, I got the same error and found that this version of SLIC does not actually have the lcdd XSD files locally. I downloaded them, and placed them in the GDML_SCHEMA_DIR directory and now it seems to be working. So, it seems to run SLIC locally using the current direction set, it is important to have the newest version of SLIC (apparently as far back as 3.1.1 is having trouble somewhere) and it seems that it is necessary to download the lcdd XSD files from http://www.lcsim.org/schemas/lcdd/1.0/ and put them in the same directory.


                With that done, it now seems to be working. I'll have to wait until it finishes to see if it worked properly, but it is running and making SLCIO files.

                Thanks for your assistance,


                Kyle



                On Thu, Nov 7, 2013 at 10:57 AM, Kyle McCarty <[log in to unmask]> wrote:


                        Hello all,


                        Still the same issue. Using the same echo and ls commands as before, I now get as output

                        /net/home/mccaky/hps/SimDist/v00-00/geant4/9.6.p01/source/persistency/gdml/schema/
                        CVS

                        gdml_core.xsd
                        gdml_define.xsd
                        gdml_extensions.xsd
                        gdml_materials.xsd
                        gdml_parameterised.xsd
                        gdml_replicas.xsd
                        gdml_solids.xsd
                        gdml.xsd

                        lcdd_display.xsd
                        lcdd_fields.xsd
                        lcdd_header.xsd
                        lcdd_iddict.xsd
                        lcdd_limits.xsd
                        lcdd_regions.xsd
                        lcdd_sensitive_detectors.xsd
                        lcdd.xsd


                        So it is definitely finding the directory and it has all the XSD files, including the one it is trying to get. It still complains that it is "unable to connect socket for URL 'http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd'" though. I am going to try and install SLIC again to make sure that I have the newest version and that this isn't due to a change between versions. I will let you know when I have done so and tested it.

                        Thanks,

                        Kyle



                        On Thu, Nov 7, 2013 at 10:48 AM, Maurik Holtrop <[log in to unmask]> wrote:


                                Hello Kyle and experts,

                                The files that Kyle is showing in his directory do not seem to have one that defines the LCDD schema. Would this problem be resolved if he copied lcdd.xsd into his directory?

                                Best,
                                Maurik


                                On Nov 7, 2013, at 10:33 AM, Kyle McCarty <[log in to unmask]> wrote:


                                        Hello all,


                                        It still seems to be having trouble. I had the scripts I am passing to the batch system perform the following commands as a diagnostic:

                                        echo $GDML_SCHEMA_DIR
                                        ls $GDML_SCHEMA_DIR


                                        It gives as output

                                        /net/home/mccaky/hps/SimDist/v00-00/geant4/9.6.p01/source/persistency/gdml/schema/
                                        gdml_core.xsd
                                        gdml_define.xsd
                                        gdml_extensions.xsd
                                        gdml_materials.xsd
                                        gdml_parameterised.xsd
                                        gdml_replicas.xsd
                                        gdml_solids.xsd
                                        gdml.xsd


                                        It is definitely recognizing the correct path and the schemas from the link Sho provided are all there. However it gives the error:

                                        unable to connect socket for URL 'http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd'


                                        It seems to need a schema that is neither in the directory nor in the link Sho provided. Note that this schema does exist, but in the directory "v00-00/lcdd/v03-02-00_pre1/schemas/lcdd/1.0/". Also, just to check that this is not the issue, do I have an old version of SLIC that and the schema setup has changed? I am using SLIC version 3.1.1 and GEANT4 version 9.6.1.


                                        Thanks,

                                        Kyle



                                        On Thu, Nov 7, 2013 at 12:46 AM, Graf, Norman A. <[log in to unmask]> wrote:


                                                Thanks Sho.
                                                Kyle, can you let us know whether this resolves your batch
                                                issue?

                                                Norman

                                                ________________________________________
                                                From: Sho Uemura [[log in to unmask]]

                                                Sent: Wednesday, November 06, 2013 9:39 PM
                                                To: Graf, Norman A.
                                                Cc: McCormick, Jeremy I.; Kyle McCarty; hps-software
                                                Subject: RE: Running SLIC Locally


                                                Done. I noticed the GDML schemas are already part of the ilcinstall tree,
                                                so it's actually a one-liner assuming you're using ilcinstall, but I kept
                                                the existing instructions and you can decide whether to keep them:

                                                https://confluence.slac.stanford.edu/display/ilc/How+can+I+make+SLIC+look+for+XML+schemas+in+a+local+directory

                                                On Wed, 6 Nov 2013, Graf, Norman A. wrote:

                                                > Hello Sho,
                                                > Thanks for looking into this. Feel free to update the
                                                > confluence page.
                                                > Norman
                                                >
                                                > ________________________________________
                                                > From: Sho Uemura [[log in to unmask]]
                                                > Sent: Wednesday, November 06, 2013 6:46 PM
                                                > To: McCormick, Jeremy I.
                                                > Cc: Kyle McCarty; Graf, Norman A.; hps-software
                                                > Subject: Re: Running SLIC Locally
                                                >
                                                > The Confluence instructions seem to be out of date: ilcinstall pulls in
                                                > and installs the LCDD schemas locally, so there's no need to download
                                                > those, but you do need to download the GDML schemas (I imagine it would
                                                > make sense for ilcinstall to do this as well, but it doesn't seem to).
                                                >
                                                > So download all the .xsd files under
                                                > http://www.lcsim.org/schemas/gdml/1.0/ into a local directory, then set
                                                > GDML_SCHEMA_DIR to point to this directory. This is all I need to do to
                                                > get slic running behind the JLab firewall.
                                                >
                                                > On Tue, 5 Nov 2013, McCormick, Jeremy I. wrote:
                                                >
                                                >> Alright I will double check that it is still working in my local copy...
                                                >>
                                                >> On Nov 5, 2013, at 11:16 AM, "Kyle McCarty" <[log in to unmask]<mailto:[log in to unmask]>> wrote:
                                                >>
                                                >> Hello Jeremy,
                                                >>
                                                >> Running the command " find /net/data/taro/kylem/schema/ -name "*.xsd" " gives
                                                >>
                                                >> /net/data/taro/kylem/schema/lcdd_iddict.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_fields.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_limits.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_display.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_sensitive_detectors.xsd
                                                >> /net/data/taro/kylem/schema/lcdd.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_header.xsd
                                                >> /net/data/taro/kylem/schema/lcdd_regions.xsd
                                                >>
                                                >> I believe that batch system can access the folder. It writes the output log files (like the ones I sent previously) to the same driver (though a different folder), so it does seem to be able to read/write to said drive. Also, the schema folder has read/execute permissions for all user groups, so there shouldn't be any permission issues. The schema files themselves only had read access for all user groups. I gave execute access to all user groups for these as well, but this does not stop the errors. I'm fairly certain that the batch system is running the processes as me anyway, though, since it can write to an output folder which only I have write access for.
                                                >>
                                                >> - Kyle
                                                >>
                                                >>
                                                >> On Tue, Nov 5, 2013 at 1:31 PM, McCormick, Jeremy I. <[log in to unmask]<mailto:[log in to unmask]>> wrote:
                                                >> Hi, Kyle.
                                                >>
                                                >> Sorry you?re having troubles with this...
                                                >>
                                                >> Can you execute this command to show the contents of your schema dir?
                                                >>
                                                >> find /net/data/taro/kylem/schema/ -name ?*.xsd?
                                                >>
                                                >> Please paste that command output into an email back to us.
                                                >>
                                                >> Stupid question: Is that directory accessible to the batch system?
                                                >>
                                                >> Thanks.
                                                >>
                                                >> On Nov 5, 2013, at 8:50 AM, Kyle McCarty <[log in to unmask]<mailto:[log in to unmask]>> wrote:
                                                >>
                                                >> Hello Norman,
                                                >>
                                                >> The batch system we use is OpenPBS and works by submitting a shell script to the batch system, which then distributes the process to a node. I have attached a sample script that gets passed to the batch system as well as the stdout and stderr that came from running it. The variable GDML_SCHEMA_DIR correctly resolves as "/net/data/taro/kylem/schema/" which contains all of the XSD files.
                                                >>
                                                >> Thanks,
                                                >>
                                                >> Kyle
                                                >>
                                                >>
                                                >> On Mon, Nov 4, 2013 at 1:45 PM, Graf, Norman A. <[log in to unmask]<mailto:[log in to unmask]>> wrote:
                                                >> Hello Kyle,
                                                >> As far as I know this should work. Can you provide more information
                                                >> on exactly how you are running slic, where the schemas are located
                                                >> locally and whether GDML_SCHEMA_DIR resolves correctly?
                                                >> Norman
                                                >>
                                                >> From: Kyle McCarty [mailto:[log in to unmask]<mailto:[log in to unmask]>]
                                                >> Sent: Monday, November 04, 2013 9:10 AM
                                                >> To: Graf, Norman A.
                                                >> Cc: hps-software
                                                >> Subject: Re: Running SLIC Locally
                                                >>
                                                >> Hello Norman,
                                                >> I tried your suggestion and I am still getting a similar problem. It now gives the error:
                                                >>
                                                >> fatal error:  systemId:  line: 0 column: 0
                                                >> unable to connect socket for URL 'http://www.lcsim.org/schemas/gdml/1.0/gdml.xsd'
                                                >> fatal error:  systemId: file:///net/home/mccaky/data/schema//lcdd.xsd line: 18 column: 80
                                                >> fatal error during schema scan
                                                >>
                                                >> -------- EEEE ------- G4Exception-START -------- EEEE -------
                                                >> *** G4Exception :
                                                >>      issued by :
                                                >> Failed to get the world volume.
                                                >> *** Fatal Exception *** core dump ***
                                                >> -------- EEEE -------- G4Exception-END --------- EEEE -------
                                                >>
                                                >>
                                                >> *** G4Exception: Aborting execution ***
                                                >> The file "lcdd.xsd" does exist at the indicated directory, so it seems that SLIC is having trouble finding it there, for some reason.
                                                >> - Kyle
                                                >>
                                                >> On Mon, Nov 4, 2013 at 11:53 AM, Graf, Norman A. <[log in to unmask]<mailto:[log in to unmask]>> wrote:
                                                >> Good Morning Kyle,
                                                >> Have you tried the following?
                                                >>
                                                >> https://confluence.slac.stanford.edu/display/ilc/How+can+I+make+SLIC+look+for+XML+schemas+in+a+local+directory
                                                >>
                                                >> Norman
                                                >>
                                                >> From: [log in to unmask]<mailto:[log in to unmask]> [mailto:[log in to unmask]<mailto:[log in to unmask]>] On Behalf Of Kyle McCarty
                                                >> Sent: Monday, November 04, 2013 8:51 AM
                                                >> To: hps-software
                                                >> Subject: Running SLIC Locally
                                                >>
                                                >> Hello hps-software,
                                                >> I am attempting to run SLIC on a computing cluster, but am running into trouble. The individual nodes in the cluster do not have access to the internet, and this renders SLIC unable to access a file "http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd" and subsequently terminate. Is there a means by which I can get SLIC to not require an internet connection to run?
                                                >> Thanks,
                                                >>
                                                >> Kyle
                                                >>
                                                >> ________________________________
                                                >>
                                                >> Use REPLY-ALL to reply to list
                                                >>
                                                >> To unsubscribe from the HPS-SOFTWARE list, click the following link:
                                                >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
                                                >>
                                                >>
                                                >>
                                                >> ________________________________
                                                >>
                                                >> Use REPLY-ALL to reply to list
                                                >>
                                                >> To unsubscribe from the HPS-SOFTWARE list, click the following link:
                                                >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
                                                >>
                                                >> <egs_0.0025x0_450na_100kb_1000.sh <http://egs_0.0025x0_450na_100kb_1000.sh/> <http://egs_0.0025x0_450na_100kb_1000.sh <http://egs_0.0025x0_450na_100kb_1000.sh/> >><egs_0.0025x0_450na_100kb_1000.sh.e98608><egs_0.0025x0_450na_100kb_1000.sh.o98608>
                                                >>
                                                >>
                                                >>
                                                >> ########################################################################
                                                >> Use REPLY-ALL to reply to list
                                                >>
                                                >> To unsubscribe from the HPS-SOFTWARE list, click the following link:
                                                >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
                                                >>
                                                > ########################################################################
                                                > Use REPLY-ALL to reply to list
                                                >
                                                > To unsubscribe from the HPS-SOFTWARE list, click the following link:
                                                > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
                                                >



________________________________

                                        Use REPLY-ALL to reply to list

                                        To unsubscribe from the HPS-SOFTWARE list, click the following link:
                                        https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
June 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use