I used to be able to run multiple instances of BEAST from command line, however with BEAST 2.5.0 and 2.5.1 I receive a message saying that the library of some package is already in use by another application. I have only tried this on W7. I notice that this only happens when the analysis uses the same BEAST packages. Does anyone know a work around (the error message - pasted below - seems to suggest that I should install additional libraries needed for jblas, but it seems strange to me). Any suggestions?
-- org.jblas ERROR Could not create the temp file: java.io.FileNotFoundException: C:\Users\CP\AppData\Local\Temp\libgcc_s_sjlj-1.dll (The process cannot access the file because it is being used by another process).
-- org.jblas ERROR Could not create the temp file: java.io.FileNotFoundException: C:\Users\CP\AppData\Local\Temp\libgfortran-3.dll (The process cannot access the file because it is being used by another process).
-- org.jblas ERROR Couldn't load copied link file: java.lang.UnsatisfiedLinkError: C:\Users\CP\AppData\Local\Temp\jblas346047130813548182jblas.dll: Can't find dependent libraries.
On Windows, you need some additional support libraries.
For example, you can install the two packages in cygwin:
mingw64-x86_64-gcc-core mingw64-x86_64-gfortran
and add the directory <cygwin-home>\usr\x86_64-w64-mingw32\sys-root\mingw\bin to your path.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.jblas.NativeBlas.dgemm(CCIIID[DII[DIID[DII)V
at org.jblas.NativeBlas.dgemm(Native Method)
at org.jblas.SimpleBlas.gemm(SimpleBlas.java:251)
at org.jblas.DoubleMatrix.mmuli(DoubleMatrix.java:1697)
at org.jblas.DoubleMatrix.mmul(DoubleMatrix.java:3054)
at org.jblas.MatrixFunctions.expm(MatrixFunctions.java:430)
at multitypetree.operators.UniformizationRetypeOperator.getBranchTypeProb(Unknown Source)
at multitypetree.operators.NodeShiftRetype.nonRootProposal(Unknown Source)
at multitypetree.operators.NodeShiftRetype.proposal(Unknown Source)
at beast.core.Operator.proposal(Unknown Source)
at beast.core.MCMC.propagateState(Unknown Source)
at beast.core.MCMC.doLoop(Unknown Source)
at beast.core.MCMC.run(Unknown Source)
at beast.app.BeastMCMC.run(Unknown Source)
at beast.app.beastapp.BeastMain.<init>(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)