idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
217 stars 133 forks source link

Process Failed #1263

Closed lhj12 closed 9 months ago

lhj12 commented 4 years ago

Defect Description

Describe the defect Execution command submitted: C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r modified command to 'C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r ' Code : Message -> Process Failed C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r returnCode -1 As you can see when I run this the command has failed. And I don't know why there are " returnCode -1" .

What did you expect to see happen?
   why the returned command line  arise " returnCode -1"? and what should I do ? Modifie  file named Relap5Interface.py ?
What did you see instead?
Do you have a suggested fix for the development team?
      no

Describe how to Reproduce Steps to reproduce the behavior:

Screenshots and Input Files Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.

Platform (please complete the following information):


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

alfoa commented 4 years ago

@lhj12 Hi,Can you attach your XML input file? I am not able to understand what the issue is... Can RELAP run that case in standalone? What is the output of the log file in the sample directory?

lhj12 commented 4 years ago

HI,dear First thank you for your help. My xml input file attach to appendices. Thanks, Liu

发送自 Windows 10 版邮件应用

发件人: Andrea Alfonsi - INL 发送时间: 2020年7月8日 2:36 收件人: idaholab/raven 抄送: lhj12; Mention 主题: Re: [idaholab/raven] Process Failed (#1263)

@lhj12 Hi,Can you attach your XML input file? I am not able to understand what the issue is... Can RELAP run that case in standalone? What is the output of the log file in the sample directory? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

CONDA raven_libraries C:\Users\lhj.conda\envs\raven_libraries Running RAVEN in "opt" mode. PluginFactory: No installed plugins detected. ERROR adding checked and unchecked to lowerBound in UniformDiscrete len 1 ERROR adding checked and unchecked to upperBound in UniformDiscrete len 1 ERROR adding checked and unchecked to lowerBound in LogUniform len 1 ERROR adding checked and unchecked to upperBound in LogUniform len 1



      .---.        .------######       #####     ###   ###  ########  ###    ###
     /     \  __  /    --###  ###    ###  ###   ###   ###  ###       #####  ###
    / /     \(  )/    --###  ###    ###   ###  ###   ###  ######    ### ######
   //////   ' \/ `   --#######     #########  ###   ###  ###       ###  #####
  //// / // :    :   -###   ###   ###   ###    ######   ####      ###   ####
 // /   /  /`    '---###    ###  ###   ###      ###    ########  ###    ###
//          //..\
===========UU====UU=============================================================
           '//||\`
             ''``

Copyright 2017 Battelle Energy Alliance, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

RAVEN Python dependencies located and checked.
(    1.05 sec) SIMULATION               : Message         -> Simulation started at 2020-07-08 08:57:31
(    1.05 sec) SIMULATION               : Message         -> Global verbosity level is " debug "
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: RunInfo        --
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Files          --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Input with name tpfh2o
(    1.05 sec) input File               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) input File               : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.05 sec) input File               : DEBUG           ->        Type           : input
(    1.05 sec) input File               : DEBUG           ->        Name           : tpfh2o
(    1.05 sec) input File               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) input File               : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Input with name C:\Users\lhj\Desktop\Case1\Case1.i
(    1.05 sec) input File               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) input File               : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.05 sec) input File               : DEBUG           ->        Type           : input
(    1.05 sec) input File               : DEBUG           ->        Name           : C:\Users\lhj\Desktop\Case1\Case1.i
(    1.05 sec) input File               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) input File               : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Models         --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Code with name MyRELAP
(    1.05 sec) Code                     : Warning         -> "text" nodes only accept "type" and "arg" attributes! Ignoring "delimiter"...
(    1.05 sec) Code                     : DEBUG           -> ------Reading Completed for:
(    1.05 sec) Code                     : DEBUG           ->        Class          : Code            from <class 'Models.Model.Model'>
(    1.05 sec) Code                     : DEBUG           ->        Type           : Code
(    1.05 sec) Code                     : DEBUG           ->        Name           : MyRELAP
(    1.05 sec) Code                     : DEBUG           ->        Initialization Parameters:
(    1.05 sec) Code                     : DEBUG           ->        subType        : Relap5
(    1.05 sec) Code                     : DEBUG           ->        executable     : C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe
(    1.05 sec) Code                     : DEBUG           ->        Current Setting:
(    1.05 sec) Code                     : DEBUG           ->        current working directory: 
(    1.05 sec) Code                     : DEBUG           ->        current output file root: 
(    1.05 sec) Code                     : DEBUG           ->        current input file: []
(    1.05 sec) Code                     : DEBUG           ->        original input file: []
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Distributions  --
(    1.05 sec) DISTRIBUTIONS            : DEBUG           -> ------Reading Completed for:
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Class          : Normal          from <class 'Distributions.BoostDistribution'>
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Type           : Normal
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Name           : area
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Initialization Parameters:
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        upperBoundUsed : False
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBoundUsed : False
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        hasInfiniteBound: True
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        upperBound     : 1.7976931348623157e+308
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBound     : -1.7976931348623157e+308
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        adjustmentType : 
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        dimensionality : 1
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        messageHandler : <MessageHandler.MessageHandler object at 0x000002BDD3A47E48>
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        mean           : 7.85398e-05
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        sigma          : 1e-06
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Samplers       --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type MonteCarlo with name MC_Sampler
(    1.05 sec) SAMPLER MONTECARLO       : DEBUG           -> Set verbosity for <Samplers.MonteCarlo.MonteCarlo object at 0x000002BDD3A4FFC8> to debug
(    1.05 sec) MonteCarlo               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) MonteCarlo               : DEBUG           ->        Class          : MonteCarlo      from <class 'Samplers.ForwardSampler.ForwardSampler'>
(    1.05 sec) MonteCarlo               : DEBUG           ->        Type           : MonteCarlo
(    1.05 sec) MonteCarlo               : DEBUG           ->        Name           : MC_Sampler
(    1.05 sec) MonteCarlo               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) MonteCarlo               : DEBUG           ->        sampled variable: 1100101:2: is sampled using the distribution area
(    1.05 sec) MonteCarlo               : DEBUG           ->        limit          : 2
(    1.05 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.05 sec) MonteCarlo               : DEBUG           ->        Current Setting:
(    1.05 sec) MonteCarlo               : DEBUG           ->        counter        : 0
(    1.05 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.05 sec) MonteCarlo               : DEBUG           ->        SampledVarsPb  : {}
(    1.05 sec) MonteCarlo               : DEBUG           ->        crowDist       : {}
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Steps          --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type MultiRun with name MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> Set verbosity for <Steps.MultiRun object at 0x000002BDD3A4D7C8> to debug
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> move this tests to base class when it is ready for all the classes
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> the mapping used in the model for checking the compatibility of usage should be more similar to self.parList to avoid the double mapping below FIXME
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> reactivate check on Input as soon as loadCsv gets out from the PostProcessor models!
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> ------Reading Completed for:
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Class          : MultiRun        from <class 'Steps.SingleRun'>
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Type           : MultiRun
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Name           : MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Initialization Parameters:
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Sleep time     : 0.005
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Initial seed   : None
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Input          : Class: Files Type: input  Global name: tpfh2o
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Model          : Class: Models Type: Code  Global name: MyRELAP
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Sampler        : Class: Samplers Type: MonteCarlo  Global name: MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Output         : Class: Databases Type: HDF5  Global name: MC_out
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Databases      --
(    1.05 sec) DATABASE HDF5            : DEBUG           -> HDF5 Read Mode is "overwrite".
(    1.06 sec) DATABASE HDF5            : Message         -> Database is located at: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\DatabaseStorage\MC_out.h5
(    1.06 sec) DATABASE HDF5            : DEBUG           -> ------Reading Completed for:
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Class          : HDF5            from <class 'Databases.DateBase'>
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Type           : HDF5
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Name           : MC_out
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Initialization Parameters:
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        exist          : False
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Current Setting:
(    1.06 sec) SIMULATION               : DEBUG           -> Moving to working directory: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5
(    1.06 sec) Job Handler              : DEBUG           -> Setting maxQueueSize to 1
(    1.06 sec) SIMULATION               : DEBUG           -> entering the run
(    1.06 sec) SIMULATION               : Message         -> -- Beginning step MC_Sampler of type: MultiRun                      --
(    1.06 sec) STEP MULTIRUN            : Message         -> ***  Beginning initialization ***
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> jobHandler initialized
(    1.06 sec) STEP MULTIRUN            : Warning         -> current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler already exists, this might imply deletion of present files
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role Model  the item of class Code            and name MyRELAP         has been initialized
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role Output the item of class HDF5            and name MC_out          has been initialized
(    1.06 sec) MonteCarlo               : Message         -> No restart for MonteCarlo
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role of sampler the item of class MonteCarlo and name MC_Sampler has been initialized
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Sampler initialization dictionary: {'externalSeeding': None}
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Generating input batch of size 1
(    1.06 sec) MonteCarlo               : DEBUG           ->  ... Sample point 1: {'1100101:2': 7.9283003122218053e-05}
(    1.06 sec) Code                     : Message         -> job "1" submitted!
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Submitted input 1
(    1.06 sec) STEP MULTIRUN            : Message         -> ***    Initialization done    ***
(    1.06 sec) STEP MULTIRUN            : Message         -> ***       Beginning run       ***
(    1.07 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r  
(    1.07 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\RELAP\\RELAP5_TMSR_v1_beta_run\\relap5.exe -i Case1.i -o out~Case1.o -r C:\\Users\\lhj\\Desktop\\Case1\\Case1.r  '
(    7.45 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r   returnCode -1
(    7.45 sec) Code                     : Message         -> ''
(    7.46 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000002BDD3A928C8> internal returnCode -1
(    7.46 sec) STEP MULTIRUN            : DEBUG           -> the job "1" has failed.
(    7.46 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    7.46 sec) MonteCarlo               : DEBUG           -> Sampling limit reached!
(    7.46 sec) MonteCarlo               : DEBUG           ->  ... Sample point 2: {'1100101:2': 7.7625462227225587e-05}
(    7.46 sec) Code                     : Message         -> job "2" submitted!
(    7.46 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r  
(    7.46 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\RELAP\\RELAP5_TMSR_v1_beta_run\\relap5.exe -i Case1.i -o out~Case1.o -r C:\\Users\\lhj\\Desktop\\Case1\\Case1.r  '
(    8.52 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r   returnCode -1
(    8.52 sec) Code                     : Message         -> ''
(    8.52 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000002BDD3A92D88> internal returnCode -1
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> the job "2" has failed.
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    8.52 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    8.52 sec) STEP MULTIRUN            : DEBUG           ->  ... sampler has no new inputs currently.
(    8.52 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> Sampling finished with 2 runs submitted, 0 jobs running, and 0 completed jobs waiting to be processed.
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : DEBUG           -> | RUN SUMMARY |
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : Warning         -> There were 2 failed runs!  Run with verbosity = debug for more details.
(    8.52 sec) MonteCarlo               : DEBUG           ->   Run number 1 FAILED:
(    8.52 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    8.52 sec) MonteCarlo               : DEBUG           ->   Run number 2 FAILED:
(    8.52 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    8.52 sec) MonteCarlo               : DEBUG           ->   Continuing with reduced-size Monte-Carlo sampling.
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : DEBUG           ->   END SUMMARY  
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) STEP MULTIRUN            : Message         -> ***       Run finished        ***
(    8.52 sec) STEP MULTIRUN            : Message         -> ***     Closing the step      ***
(    8.52 sec) STEP MULTIRUN            : Message         -> ***        Step closed        ***
(    8.52 sec) SIMULATION               : Message         -> -- End step MC_Sampler of type: MultiRun                       --

--------------------------------------------------
There were 3 warnings during the simulation run:
(1 time) "text" nodes only accept "type" and "arg" attributes! Ignoring "delimiter"...
(1 time) There were 2 failed runs!  Run with verbosity = debug for more details.
(1 time) current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler already exists, this might imply deletion of present files
--------------------------------------------------
(    8.52 sec) SIMULATION               : Message         -> Run complete!
lhj12 commented 4 years ago

This is my XML input file.

发送自 Windows 10 版邮件应用

发件人: Andrea Alfonsi - INL 发送时间: 2020年7月8日 2:36 主题: Re: [idaholab/raven] Process Failed (#1263)

@lhj12 Hi,Can you attach your XML input file? I am not able to understand what the issue is... Can RELAP run that case in standalone? What is the output of the log file in the sample directory? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

<?xml version="1.0" ?>

MonteCar_Pelap5 MC_Sampler MonteCarlo_Pelap5 1 1:00:00 C:\Users\lhj\Desktop\Case1\tpfh2o C:\Users\lhj\Desktop\Case1\Case1.i C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe 1 %card% *1100101:2 1101201:2 7.85398e-5 1.0e-6 2 True 10 area C:\Users\lhj\Desktop\Case1\Case1.i tpfh2o MyRELAP MC_Sampler MC_out

CONDA raven_libraries C:\Users\lhj.conda\envs\raven_libraries Running RAVEN in "opt" mode. PluginFactory: No installed plugins detected. ERROR adding checked and unchecked to lowerBound in UniformDiscrete len 1 ERROR adding checked and unchecked to upperBound in UniformDiscrete len 1 ERROR adding checked and unchecked to lowerBound in LogUniform len 1 ERROR adding checked and unchecked to upperBound in LogUniform len 1



      .---.        .------######       #####     ###   ###  ########  ###    ###
     /     \  __  /    --###  ###    ###  ###   ###   ###  ###       #####  ###
    / /     \(  )/    --###  ###    ###   ###  ###   ###  ######    ### ######
   //////   ' \/ `   --#######     #########  ###   ###  ###       ###  #####
  //// / // :    :   -###   ###   ###   ###    ######   ####      ###   ####
 // /   /  /`    '---###    ###  ###   ###      ###    ########  ###    ###
//          //..\
===========UU====UU=============================================================
           '//||\`
             ''``

Copyright 2017 Battelle Energy Alliance, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

RAVEN Python dependencies located and checked.
(    1.05 sec) SIMULATION               : Message         -> Simulation started at 2020-07-08 08:57:31
(    1.05 sec) SIMULATION               : Message         -> Global verbosity level is " debug "
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: RunInfo        --
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Files          --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Input with name tpfh2o
(    1.05 sec) input File               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) input File               : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.05 sec) input File               : DEBUG           ->        Type           : input
(    1.05 sec) input File               : DEBUG           ->        Name           : tpfh2o
(    1.05 sec) input File               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) input File               : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Input with name C:\Users\lhj\Desktop\Case1\Case1.i
(    1.05 sec) input File               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) input File               : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.05 sec) input File               : DEBUG           ->        Type           : input
(    1.05 sec) input File               : DEBUG           ->        Name           : C:\Users\lhj\Desktop\Case1\Case1.i
(    1.05 sec) input File               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) input File               : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Models         --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type Code with name MyRELAP
(    1.05 sec) Code                     : Warning         -> "text" nodes only accept "type" and "arg" attributes! Ignoring "delimiter"...
(    1.05 sec) Code                     : DEBUG           -> ------Reading Completed for:
(    1.05 sec) Code                     : DEBUG           ->        Class          : Code            from <class 'Models.Model.Model'>
(    1.05 sec) Code                     : DEBUG           ->        Type           : Code
(    1.05 sec) Code                     : DEBUG           ->        Name           : MyRELAP
(    1.05 sec) Code                     : DEBUG           ->        Initialization Parameters:
(    1.05 sec) Code                     : DEBUG           ->        subType        : Relap5
(    1.05 sec) Code                     : DEBUG           ->        executable     : C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe
(    1.05 sec) Code                     : DEBUG           ->        Current Setting:
(    1.05 sec) Code                     : DEBUG           ->        current working directory: 
(    1.05 sec) Code                     : DEBUG           ->        current output file root: 
(    1.05 sec) Code                     : DEBUG           ->        current input file: []
(    1.05 sec) Code                     : DEBUG           ->        original input file: []
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Distributions  --
(    1.05 sec) DISTRIBUTIONS            : DEBUG           -> ------Reading Completed for:
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Class          : Normal          from <class 'Distributions.BoostDistribution'>
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Type           : Normal
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Name           : area
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Initialization Parameters:
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        upperBoundUsed : False
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBoundUsed : False
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        hasInfiniteBound: True
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        upperBound     : 1.7976931348623157e+308
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBound     : -1.7976931348623157e+308
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        adjustmentType : 
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        dimensionality : 1
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        messageHandler : <MessageHandler.MessageHandler object at 0x000002BDD3A47E48>
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        mean           : 7.85398e-05
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        sigma          : 1e-06
(    1.05 sec) DISTRIBUTIONS            : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Samplers       --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type MonteCarlo with name MC_Sampler
(    1.05 sec) SAMPLER MONTECARLO       : DEBUG           -> Set verbosity for <Samplers.MonteCarlo.MonteCarlo object at 0x000002BDD3A4FFC8> to debug
(    1.05 sec) MonteCarlo               : DEBUG           -> ------Reading Completed for:
(    1.05 sec) MonteCarlo               : DEBUG           ->        Class          : MonteCarlo      from <class 'Samplers.ForwardSampler.ForwardSampler'>
(    1.05 sec) MonteCarlo               : DEBUG           ->        Type           : MonteCarlo
(    1.05 sec) MonteCarlo               : DEBUG           ->        Name           : MC_Sampler
(    1.05 sec) MonteCarlo               : DEBUG           ->        Initialization Parameters:
(    1.05 sec) MonteCarlo               : DEBUG           ->        sampled variable: 1100101:2: is sampled using the distribution area
(    1.05 sec) MonteCarlo               : DEBUG           ->        limit          : 2
(    1.05 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.05 sec) MonteCarlo               : DEBUG           ->        Current Setting:
(    1.05 sec) MonteCarlo               : DEBUG           ->        counter        : 0
(    1.05 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.05 sec) MonteCarlo               : DEBUG           ->        SampledVarsPb  : {}
(    1.05 sec) MonteCarlo               : DEBUG           ->        crowDist       : {}
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Steps          --
(    1.05 sec) SIMULATION               : DEBUG           -> Reading type MultiRun with name MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> Set verbosity for <Steps.MultiRun object at 0x000002BDD3A4D7C8> to debug
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> move this tests to base class when it is ready for all the classes
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> the mapping used in the model for checking the compatibility of usage should be more similar to self.parList to avoid the double mapping below FIXME
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> reactivate check on Input as soon as loadCsv gets out from the PostProcessor models!
(    1.05 sec) STEP MULTIRUN            : DEBUG           -> ------Reading Completed for:
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Class          : MultiRun        from <class 'Steps.SingleRun'>
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Type           : MultiRun
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Name           : MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Initialization Parameters:
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Sleep time     : 0.005
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Initial seed   : None
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Input          : Class: Files Type: input  Global name: tpfh2o
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Model          : Class: Models Type: Code  Global name: MyRELAP
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Sampler        : Class: Samplers Type: MonteCarlo  Global name: MC_Sampler
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Output         : Class: Databases Type: HDF5  Global name: MC_out
(    1.05 sec) STEP MULTIRUN            : DEBUG           ->        Current Setting:
(    1.05 sec) SIMULATION               : DEBUG           -> -- Reading the block: Databases      --
(    1.05 sec) DATABASE HDF5            : DEBUG           -> HDF5 Read Mode is "overwrite".
(    1.06 sec) DATABASE HDF5            : Message         -> Database is located at: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\DatabaseStorage\MC_out.h5
(    1.06 sec) DATABASE HDF5            : DEBUG           -> ------Reading Completed for:
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Class          : HDF5            from <class 'Databases.DateBase'>
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Type           : HDF5
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Name           : MC_out
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Initialization Parameters:
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        exist          : False
(    1.06 sec) DATABASE HDF5            : DEBUG           ->        Current Setting:
(    1.06 sec) SIMULATION               : DEBUG           -> Moving to working directory: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5
(    1.06 sec) Job Handler              : DEBUG           -> Setting maxQueueSize to 1
(    1.06 sec) SIMULATION               : DEBUG           -> entering the run
(    1.06 sec) SIMULATION               : Message         -> -- Beginning step MC_Sampler of type: MultiRun                      --
(    1.06 sec) STEP MULTIRUN            : Message         -> ***  Beginning initialization ***
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> jobHandler initialized
(    1.06 sec) STEP MULTIRUN            : Warning         -> current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler already exists, this might imply deletion of present files
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role Model  the item of class Code            and name MyRELAP         has been initialized
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role Output the item of class HDF5            and name MC_out          has been initialized
(    1.06 sec) MonteCarlo               : Message         -> No restart for MonteCarlo
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> for the role of sampler the item of class MonteCarlo and name MC_Sampler has been initialized
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Sampler initialization dictionary: {'externalSeeding': None}
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Generating input batch of size 1
(    1.06 sec) MonteCarlo               : DEBUG           ->  ... Sample point 1: {'1100101:2': 7.9283003122218053e-05}
(    1.06 sec) Code                     : Message         -> job "1" submitted!
(    1.06 sec) STEP MULTIRUN            : DEBUG           -> Submitted input 1
(    1.06 sec) STEP MULTIRUN            : Message         -> ***    Initialization done    ***
(    1.06 sec) STEP MULTIRUN            : Message         -> ***       Beginning run       ***
(    1.07 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r  
(    1.07 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\RELAP\\RELAP5_TMSR_v1_beta_run\\relap5.exe -i Case1.i -o out~Case1.o -r C:\\Users\\lhj\\Desktop\\Case1\\Case1.r  '
(    7.45 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r   returnCode -1
(    7.45 sec) Code                     : Message         -> ''
(    7.46 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000002BDD3A928C8> internal returnCode -1
(    7.46 sec) STEP MULTIRUN            : DEBUG           -> the job "1" has failed.
(    7.46 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    7.46 sec) MonteCarlo               : DEBUG           -> Sampling limit reached!
(    7.46 sec) MonteCarlo               : DEBUG           ->  ... Sample point 2: {'1100101:2': 7.7625462227225587e-05}
(    7.46 sec) Code                     : Message         -> job "2" submitted!
(    7.46 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r  
(    7.46 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\RELAP\\RELAP5_TMSR_v1_beta_run\\relap5.exe -i Case1.i -o out~Case1.o -r C:\\Users\\lhj\\Desktop\\Case1\\Case1.r  '
(    8.52 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe -i Case1.i -o out~Case1.o -r C:\Users\lhj\Desktop\Case1\Case1.r   returnCode -1
(    8.52 sec) Code                     : Message         -> ''
(    8.52 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000002BDD3A92D88> internal returnCode -1
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> the job "2" has failed.
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    8.52 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    8.52 sec) STEP MULTIRUN            : DEBUG           ->  ... sampler has no new inputs currently.
(    8.52 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    8.52 sec) STEP MULTIRUN            : DEBUG           -> Sampling finished with 2 runs submitted, 0 jobs running, and 0 completed jobs waiting to be processed.
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : DEBUG           -> | RUN SUMMARY |
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : Warning         -> There were 2 failed runs!  Run with verbosity = debug for more details.
(    8.52 sec) MonteCarlo               : DEBUG           ->   Run number 1 FAILED:
(    8.52 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    8.52 sec) MonteCarlo               : DEBUG           ->   Run number 2 FAILED:
(    8.52 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    8.52 sec) MonteCarlo               : DEBUG           ->   Continuing with reduced-size Monte-Carlo sampling.
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) MonteCarlo               : DEBUG           ->   END SUMMARY  
(    8.52 sec) MonteCarlo               : DEBUG           -> ===============
(    8.52 sec) STEP MULTIRUN            : Message         -> ***       Run finished        ***
(    8.52 sec) STEP MULTIRUN            : Message         -> ***     Closing the step      ***
(    8.52 sec) STEP MULTIRUN            : Message         -> ***        Step closed        ***
(    8.52 sec) SIMULATION               : Message         -> -- End step MC_Sampler of type: MultiRun                       --

--------------------------------------------------
There were 3 warnings during the simulation run:
(1 time) "text" nodes only accept "type" and "arg" attributes! Ignoring "delimiter"...
(1 time) There were 2 failed runs!  Run with verbosity = debug for more details.
(1 time) current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler already exists, this might imply deletion of present files
--------------------------------------------------
(    8.52 sec) SIMULATION               : Message         -> Run complete!
lhj12 commented 4 years ago

Hi, When I run the case(Case1.i) usr RELAP5 is a successful case.There are all the files

发送自 Windows 10 版邮件应用

发件人: Andrea Alfonsi - INL 发送时间: 2020年7月8日 2:36 主题: Re: [idaholab/raven] Process Failed (#1263)

@lhj12 Hi,Can you attach your XML input file? I am not able to understand what the issue is... Can RELAP run that case in standalone? What is the output of the log file in the sample directory? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

CONDA raven_libraries C:\Users\lhj.conda\envs\raven_libraries Running RAVEN in "opt" mode. PluginFactory: No installed plugins detected. ERROR adding checked and unchecked to lowerBound in UniformDiscrete len 1 ERROR adding checked and unchecked to upperBound in UniformDiscrete len 1 ERROR adding checked and unchecked to lowerBound in LogUniform len 1 ERROR adding checked and unchecked to upperBound in LogUniform len 1



      .---.        .------######       #####     ###   ###  ########  ###    ###
     /     \  __  /    --###  ###    ###  ###   ###   ###  ###       #####  ###
    / /     \(  )/    --###  ###    ###   ###  ###   ###  ######    ### ######
   //////   ' \/ `   --#######     #########  ###   ###  ###       ###  #####
  //// / // :    :   -###   ###   ###   ###    ######   ####      ###   ####
 // /   /  /`    '---###    ###  ###   ###      ###    ########  ###    ###
//          //..\
===========UU====UU=============================================================
           '//||\`
             ''``

Copyright 2017 Battelle Energy Alliance, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

RAVEN Python dependencies located and checked.
(    1.09 sec) SIMULATION               : Message         -> Simulation started at 2020-07-10 16:00:05
(    1.09 sec) SIMULATION               : Message         -> Global verbosity level is " debug "
(    1.09 sec) SIMULATION               : DEBUG           -> -- Reading the block: RunInfo        --
(    1.09 sec) SIMULATION               : DEBUG           -> -- Reading the block: Files          --
(    1.09 sec) SIMULATION               : DEBUG           -> Reading type Input with name Case1.i
(    1.09 sec) input File               : DEBUG           -> ------Reading Completed for:
(    1.09 sec) input File               : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.09 sec) input File               : DEBUG           ->        Type           : input
(    1.09 sec) input File               : DEBUG           ->        Name           : Case1.i
(    1.09 sec) input File               : DEBUG           ->        Initialization Parameters:
(    1.09 sec) input File               : DEBUG           ->        Current Setting:
(    1.09 sec) SIMULATION               : DEBUG           -> Reading type Input with name tpfh2o
(    1.09 sec)  File                    : DEBUG           -> ------Reading Completed for:
(    1.09 sec)  File                    : DEBUG           ->        Class          : UserGenerated   from <class 'Files.File'>
(    1.09 sec)  File                    : DEBUG           ->        Type           : 
(    1.09 sec)  File                    : DEBUG           ->        Name           : tpfh2o
(    1.09 sec)  File                    : DEBUG           ->        Initialization Parameters:
(    1.09 sec)  File                    : DEBUG           ->        Current Setting:
(    1.09 sec) SIMULATION               : DEBUG           -> -- Reading the block: Models         --
(    1.09 sec) SIMULATION               : DEBUG           -> Reading type Code with name MyRELAP
(    1.09 sec) Code                     : DEBUG           -> ------Reading Completed for:
(    1.09 sec) Code                     : DEBUG           ->        Class          : Code            from <class 'Models.Model.Model'>
(    1.09 sec) Code                     : DEBUG           ->        Type           : Code
(    1.09 sec) Code                     : DEBUG           ->        Name           : MyRELAP
(    1.09 sec) Code                     : DEBUG           ->        Initialization Parameters:
(    1.09 sec) Code                     : DEBUG           ->        subType        : Relap5
(    1.09 sec) Code                     : DEBUG           ->        executable     : C:\Users\lhj\Desktop\Case1\relap5.exe
(    1.09 sec) Code                     : DEBUG           ->        Current Setting:
(    1.09 sec) Code                     : DEBUG           ->        current working directory: 
(    1.09 sec) Code                     : DEBUG           ->        current output file root: 
(    1.09 sec) Code                     : DEBUG           ->        current input file: []
(    1.09 sec) Code                     : DEBUG           ->        original input file: []
(    1.09 sec) SIMULATION               : DEBUG           -> -- Reading the block: Distributions  --
(    1.09 sec) DISTRIBUTIONS            : DEBUG           -> ------Reading Completed for:
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        Class          : Normal          from <class 'Distributions.BoostDistribution'>
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        Type           : Normal
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        Name           : area
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        Initialization Parameters:
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        upperBoundUsed : False
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBoundUsed : False
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        hasInfiniteBound: True
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        upperBound     : 1.7976931348623157e+308
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        lowerBound     : -1.7976931348623157e+308
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        adjustmentType : 
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        dimensionality : 1
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        messageHandler : <MessageHandler.MessageHandler object at 0x000001EDDD139CC8>
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        mean           : 7.85398e-05
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        sigma          : 1e-06
(    1.09 sec) DISTRIBUTIONS            : DEBUG           ->        Current Setting:
(    1.09 sec) SIMULATION               : DEBUG           -> -- Reading the block: Samplers       --
(    1.09 sec) SIMULATION               : DEBUG           -> Reading type MonteCarlo with name MC_Sampler
(    1.10 sec) MonteCarlo               : DEBUG           -> ------Reading Completed for:
(    1.10 sec) MonteCarlo               : DEBUG           ->        Class          : MonteCarlo      from <class 'Samplers.ForwardSampler.ForwardSampler'>
(    1.10 sec) MonteCarlo               : DEBUG           ->        Type           : MonteCarlo
(    1.10 sec) MonteCarlo               : DEBUG           ->        Name           : MC_Sampler
(    1.10 sec) MonteCarlo               : DEBUG           ->        Initialization Parameters:
(    1.10 sec) MonteCarlo               : DEBUG           ->        sampled variable: 1100101:2: is sampled using the distribution area
(    1.10 sec) MonteCarlo               : DEBUG           ->        limit          : 2
(    1.10 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.10 sec) MonteCarlo               : DEBUG           ->        Current Setting:
(    1.10 sec) MonteCarlo               : DEBUG           ->        counter        : 0
(    1.10 sec) MonteCarlo               : DEBUG           ->        initial seed   : 10
(    1.10 sec) MonteCarlo               : DEBUG           ->        SampledVarsPb  : {}
(    1.10 sec) MonteCarlo               : DEBUG           ->        crowDist       : {}
(    1.10 sec) SIMULATION               : DEBUG           -> -- Reading the block: Steps          --
(    1.10 sec) SIMULATION               : DEBUG           -> Reading type MultiRun with name MC_Sampler2
(    1.10 sec) STEP MULTIRUN            : DEBUG           -> move this tests to base class when it is ready for all the classes
(    1.10 sec) STEP MULTIRUN            : DEBUG           -> the mapping used in the model for checking the compatibility of usage should be more similar to self.parList to avoid the double mapping below FIXME
(    1.10 sec) STEP MULTIRUN            : DEBUG           -> reactivate check on Input as soon as loadCsv gets out from the PostProcessor models!
(    1.10 sec) STEP MULTIRUN            : DEBUG           -> ------Reading Completed for:
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Class          : MultiRun        from <class 'Steps.SingleRun'>
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Type           : MultiRun
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Name           : MC_Sampler2
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Initialization Parameters:
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Sleep time     : 0.005
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Initial seed   : 1
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Input          : Class: Files Type:   Global name: tpfh2o
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Model          : Class: Models Type: Code  Global name: MyRELAP
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Sampler        : Class: Samplers Type: MonteCarlo  Global name: MC_Sampler
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Output         : Class: OutStreams Type: Print  Global name: my_Results
(    1.10 sec) STEP MULTIRUN            : DEBUG           ->        Current Setting:
(    1.10 sec) SIMULATION               : DEBUG           -> -- Reading the block: Databases      --
(    1.10 sec) DATABASE HDF5            : DEBUG           -> HDF5 Read Mode is "overwrite".
(    1.10 sec) DATABASE HDF5            : Message         -> Database is located at: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\DatabaseStorage\MC_out.h5
(    1.10 sec) DATABASE HDF5            : DEBUG           -> ------Reading Completed for:
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        Class          : HDF5            from <class 'Databases.DateBase'>
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        Type           : HDF5
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        Name           : MC_out
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        Initialization Parameters:
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        exist          : False
(    1.10 sec) DATABASE HDF5            : DEBUG           ->        Current Setting:
(    1.10 sec) SIMULATION               : DEBUG           -> -- Reading the block: DataObjects    --
(    1.10 sec) SIMULATION               : DEBUG           -> Reading type PointSet with name Results
InputData: Using param spec "DataSet" to read XML node "PointSet.
(    1.10 sec) PointSet                 : DEBUG           -> ------Reading Completed for:
(    1.10 sec) PointSet                 : DEBUG           ->        Class          : PointSet        from <class 'DataObjects.DataSet.DataSet'>
(    1.10 sec) PointSet                 : DEBUG           ->        Type           : PointSet
(    1.10 sec) PointSet                 : DEBUG           ->        Name           : Results
(    1.10 sec) PointSet                 : DEBUG           ->        Initialization Parameters:
(    1.10 sec) PointSet                 : DEBUG           ->        Current Setting:
(    1.10 sec) SIMULATION               : DEBUG           -> -- Reading the block: OutStreams     --
(    1.10 sec) SIMULATION               : DEBUG           -> Reading type Print with name my_Results
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           -> ------Reading Completed for:
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Class          : OutStreamPrint  from <class 'OutStreams.OutStreamManager.OutStreamManager'>
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Type           : OutStreamPrint
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Name           : my_Results
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Initialization Parameters:
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Global Class Type                 : OutStreamManager
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Specialized Class Type            : OutStreamPrint
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Overwrite output everytime called : True
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Source Name 0 :: Results
(    1.10 sec) OUTSTREAM MANAGER        : DEBUG           ->        Current Setting:
(    1.10 sec) SIMULATION               : DEBUG           -> Moving to working directory: C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5
(    1.10 sec) Job Handler              : DEBUG           -> Setting maxQueueSize to 1
(    1.10 sec) SIMULATION               : DEBUG           -> entering the run
(    1.10 sec) SIMULATION               : Message         -> -- Beginning step MC_Sampler2 of type: MultiRun                     --
(    1.10 sec) STEP MULTIRUN            : Message         -> ***  Beginning initialization ***
(    1.10 sec) STEP MULTIRUN            : DEBUG           -> jobHandler initialized
(    1.10 sec) STEP MULTIRUN            : Warning         -> current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler2 already exists, this might imply deletion of present files
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> for the role Model  the item of class Code            and name MyRELAP         has been initialized
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> for the role Output the item of class HDF5            and name MC_out          has been initialized
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> for the role Output the item of class PointSet        and name Results         has been initialized
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> for the role Output the item of class OutStreamPrint  and name my_Results      has been initialized
(    1.11 sec) MonteCarlo               : Message         -> No restart for MonteCarlo
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> for the role of sampler the item of class MonteCarlo and name MC_Sampler has been initialized
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> Sampler initialization dictionary: {'externalSeeding': 1}
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> Generating input batch of size 1
(    1.11 sec) MonteCarlo               : DEBUG           ->  ... Sample point 1: {'1100101:2': 7.8330282143278864e-05}
(    1.11 sec) Code                     : Message         -> job "1" submitted!
(    1.11 sec) STEP MULTIRUN            : DEBUG           -> Submitted input 1
(    1.11 sec) STEP MULTIRUN            : Message         -> ***    Initialization done    ***
(    1.11 sec) STEP MULTIRUN            : Message         -> ***       Beginning run       ***
(    1.12 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\Case1\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r  
(    1.12 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\Case1\\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r  '
(    1.14 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\Case1\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r   returnCode 3221225781
(    1.14 sec) Code                     : Message         -> ''
(    1.14 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000001EDDD191548> internal returnCode -1
(    1.14 sec) STEP MULTIRUN            : DEBUG           -> the job "1" has failed.
(    1.14 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    1.14 sec) MonteCarlo               : DEBUG           -> Sampling limit reached!
(    1.14 sec) MonteCarlo               : DEBUG           ->  ... Sample point 2: {'1100101:2': 7.8378668467586745e-05}
(    1.14 sec) Code                     : Message         -> job "2" submitted!
(    1.15 sec) Code                     : Message         -> Execution command submitted: C:\Users\lhj\Desktop\Case1\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r  
(    1.15 sec) Code                     : Message         -> modified command to 'C:\\Users\\lhj\\Desktop\\Case1\\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r  '
(    1.17 sec) Code                     : Message         ->  Process Failed C:\Users\lhj\Desktop\Case1\relap5.exe -i Case1.i -o out~Case1.o -r out~Case1.r   returnCode 3221225781
(    1.17 sec) Code                     : Message         -> ''
(    1.17 sec) Job Handler              : Message         ->  Process Failed <Runners.SharedMemoryRunner.SharedMemoryRunner object at 0x000001EDDD191C08> internal returnCode -1
(    1.17 sec) STEP MULTIRUN            : DEBUG           -> the job "2" has failed.
(    1.17 sec) STEP MULTIRUN            : DEBUG           -> Testing if the sampler is ready to generate a new input
(    1.17 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    1.17 sec) STEP MULTIRUN            : DEBUG           ->  ... sampler has no new inputs currently.
(    1.17 sec) MonteCarlo               : DEBUG           -> Sampling limit reached! No new samples ...
(    1.17 sec) STEP MULTIRUN            : DEBUG           -> Sampling finished with 2 runs submitted, 0 jobs running, and 0 completed jobs waiting to be processed.
(    1.17 sec) MonteCarlo               : DEBUG           -> ===============
(    1.17 sec) MonteCarlo               : DEBUG           -> | RUN SUMMARY |
(    1.17 sec) MonteCarlo               : DEBUG           -> ===============
(    1.17 sec) MonteCarlo               : Warning         -> There were 2 failed runs!  Run with verbosity = debug for more details.
(    1.17 sec) MonteCarlo               : DEBUG           ->   Run number 1 FAILED:
(    1.17 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    1.17 sec) MonteCarlo               : DEBUG           ->   Run number 2 FAILED:
(    1.17 sec) MonteCarlo               : DEBUG           ->       return code : -1
(    1.17 sec) MonteCarlo               : DEBUG           ->   Continuing with reduced-size Monte-Carlo sampling.
(    1.17 sec) MonteCarlo               : DEBUG           -> ===============
(    1.17 sec) MonteCarlo               : DEBUG           ->   END SUMMARY  
(    1.17 sec) MonteCarlo               : DEBUG           -> ===============
(    1.17 sec) STEP MULTIRUN            : Message         -> ***       Run finished        ***
(    1.17 sec) STEP MULTIRUN            : Message         -> ***     Closing the step      ***
(    1.17 sec) STEP MULTIRUN            : Message         -> ***        Step closed        ***
(    1.17 sec) SIMULATION               : Message         -> -- End step MC_Sampler2 of type: MultiRun                      --

--------------------------------------------------
There were 2 warnings during the simulation run:
(1 time) There were 2 failed runs!  Run with verbosity = debug for more details.
(1 time) current working dir C:\Users\lhj\Desktop\Case1\MonteCarlo_Pelap5\MC_Sampler2 already exists, this might imply deletion of present files
--------------------------------------------------
(    1.17 sec) SIMULATION               : Message         -> Run complete!

<?xml version="1.0" ?>
<Simulation verbosity="debug">
  <RunInfo>
    <!-- <JobName>MonteCar_Pelap5</JobName> -->
    <Sequence>MC_Sampler2</Sequence>
    <WorkingDir>MonteCarlo_Pelap5</WorkingDir>
    <batchSize>1</batchSize>
    <!-- <expectedTime>1:00:00</expectedTime> -->
  </RunInfo>

  <Files>   
      <Input name="Case1.i" type="input">C:\Users\lhj\Desktop\Case1\Case1.i</Input> 
      <Input name="tpfh2o" type="">C:\Users\lhj\Desktop\Case1\tpfh2o </Input>
  </Files>

  <Models>
    <Code name="MyRELAP" subType="Relap5">
      <executable>      
        C:\Users\lhj\Desktop\Case1\relap5.exe
      </executable>
    </Code>
  </Models>

  <Distributions>
      <Normal name="area">
          <mean>7.85398e-5</mean>
          <sigma>1.0e-6</sigma>
      </Normal>
  </Distributions>

  <Samplers>
    <MonteCarlo name="MC_Sampler">
      <samplerInit>
          <limit>2</limit>
          <reseedEachIteration>True</reseedEachIteration>
          <initialSeed>10</initialSeed>
      </samplerInit>
      <variable name="1100101:2">
        <distribution>area</distribution>
      </variable>
    </MonteCarlo>
  </Samplers>

  <Steps>
    <MultiRun name='MC_Sampler2' re-seeding="1" >
      <Input  class="Files" type="input">Case1.i</Input>
      <Input  class="Files" type="">tpfh2o </Input>
      <Model  class="Models"  type="Code">MyRELAP</Model>
      <Sampler  class="Samplers"   type="MonteCarlo">MC_Sampler</Sampler>
      <Output   class="Databases"  type="HDF5">MC_out</Output>
      <Output class="DataObjects" type="PointSet">Results</Output>
      <Output class="OutStreams" type="Print">my_Results</Output>
    </MultiRun> 
  </Steps>

  <Databases>
    <HDF5 name="MC_out"   readMode="overwrite"/>
  </Databases>

  <DataObjects>
      <PointSet name="Results">
        <Input>1100101:2</Input>
        <Output>voidg_110010000,voidg_110020000</Output>
      </PointSet>
  </DataObjects>

  <OutStreams>
      <Print name="my_Results">
          <type>csv</type>
          <source>Results</source>
      </Print>
  </OutStreams>

</Simulation>

*============================================================================*
*title card 
=liquid over vapor problem       
*============================================================================*
* problem type and option
100       new      transnt     
*============================================================================*
* unit option  
102    si   si
*============================================================================*
*time step control cards 
*crdno end time  min dt   max dt  control  minor ed  major ed  restart
201    10.0     1.0-6     0.01    39       5         100       1000
*============================================================================*
*minor edit requests     *voidg 
301   voidg  110010000
302   voidg  110020000
303   voidg  110030000
304   voidg  110040000
305   voidg  110050000
306   voidg  110060000
307   voidg  110070000
308   voidg  110080000
309   voidg  110090000
310   tempf  110010000
311   tempg  110010000
*============================================================================*
*plot variables
20300010  voidg      110010000   1  voidg      110020000   1
20300011  voidg      110030000   1  voidg      110040000   1

20300020  voidg      110050000   1  voidg      110060000   1
20300021  voidg      110070000   1  voidg      110080000   1
20300022  voidg      110090000   1   

20300030  tempf  110010000 1
20300031  tempg  110010000 1                                           
*
*============================================================================*
*                      HY component 110
*     (pipe: flow area=7.85398e-5m2, total length=1m, 
*  each volume length=1/10=0.1m)                        
*crdno     name            type                           
1100000    "110P"          pipe                           
*crdno     no.vols.                                       
1100001    10                                        
*crdno     area                             vol.no.       
1100101    7.85398e-5                       10        
*crdno     length                           vol.no.       
1100301    0.1                              10
*crdno     volume                           vol.no. 
1100401    0.0                              10        
*crdno     v-ang                            vol.no.       
1100601    90.0                             10        
*crdno     rough     dhy                    vol.no.      
1100801    1.0e-6    0.01                   10         
*crdno     ctl                              vol.no.       
1101001    10                               10        
*crdno     ctl                              jun.no.       
1101101    0                                9        
*crdno     ctl    pressure   voidg                vol.no.       
1101201    2      0.2e+6     1.0  0.0  0.0 0.0    7 
1101202    2      0.2e+6     0.0  0.0  0.0 0.0    10        
*crdno     i.c.                                           
1101300    1                                            
*crdno     flowf     flowg        velj      jun.no.       
1101301    0.0       0.0          0.0       9
*============================================================================*
*end
.        
alfoa commented 3 years ago

if you use Win, the executable should be inputted using quotes: "C:\Users\lhj\Desktop\RELAP\RELAP5_TMSR_v1_beta_run\relap5.exe".

We will update the manual