close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Closed 14 years ago

#1274 closed defect (fixed)

Tolbase Linux: Problemas con el lanzamiento del CODA

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: BSR Version: 2.0.1
Severity: blocker Keywords:
Cc:

Description

Lo siguiente viene del ticket https://trac.localbayes.es/mms/ticket/713

Buenos días, con la versión 2.0.1 de Linux me encuentro con el siguiente

mensaje de error:

[Rapi::RunRScript] Executing :
<R CMD BATCH --vanilla "/home/rmtpsd/.tol/tmp/in27106_189093.R"
"/home/rmtpsd/.tol/tmp/Rout27106_189093.log"
<E>
ERROR: [1]
[2]=No such file or directory
Cannot execute the command:
R CMD BATCH --vanilla "/home/rmtpsd/.tol/tmp/in27106_189093.R"
"/home/rmtpsd/.tol/tmp/Rout27106_189093.log"</E>

[Call stack]
  [11] Real StdLib::OSCmdWait (Text order)
  [10] Set StdLib::Rapi::RunRScript (Text script, Set args.bbm, Text
argsList, Set result.names, Real verbose)
  [9] Matrix StdLib::RCODA::raftery.diag (Anything data, Set optArgs)
  [8] Set BysMcmc::Inference::get.coda.raftery.diag (Text name, Set
colNames, Set repCfg, Matrix mcmc)
  [7] Set BysMcmc::Inference::report (Text name_, Set colNames_, Set
repCfg__, Matrix mcmc_)
  [6] Set BysMcmc::Inference::loadAndReport (Text path, Real burnin, Real
length_, Real thinning, Text name, Set colNames, Set repCfg)
  [5] Set cycler::cycler::cycler::cycler::cycler::report (Real burnin,
Real length, Real thinning)
  [4] Real results::estim::Run (Real void)
  [3] Real est::mainObject::strategy::strategyBSR::Execute (Real void)
  [2] Real est::mainObject::estimation::estimation::Execute (Real void)
  [1] Real runRemoteEstimation (Text name)

Change History (1)

comment:1 Changed 14 years ago by Jorge

Resolution: fixed
Status: newclosed

Este error se ha reproducido cuando se lanza la estimación bajo la cuenta del servidor de procesos remotos rmtpsd. Es debido a que R no encuentra los paquetes instalados. Para eso hay que definir la variable del entorno

R_LIBS_USER=/usr/lib/R/library

Para que rmtpsd la tenga definida cada vez que lance un proceso, en particular un tolsh, debemos crear el archivo /service/rmtpsd/env/R_LIBS_USER con la línea:

/usr/lib/R/library
Note: See TracTickets for help on using tickets.