Add a New Comment (Rich Markup)
The CERTI FOM path issue has been migrated to a dedicated issue ticket #54141. consider this one as fixed.
An updating concerning CERTI_FOM_PATH: When using the test shipped with jcerti, the directory added to this must must have a "/" at the end of the address: export CERTI_FOM_PATH=/XXX/XXX/:$CERTI_FOM_PATH Then, it works for the federation with UAVSend-run and UAVReceive-run. We still would like an answer about local/distributed issue.
Hi CERTI Team, We are working with the projet PTII - HLA/CERTI (co-simulation framework between Ptolemy and HLA/CERTI). We have some issues when testing the framework in a distributed simulation when the 'rtig' is on a 'host1' and the Ptolemy Federates are on a 'host2'. When we do a distributed simulation on the same host (rtig + federates) the second parameter used in the createFederationExecution() method (CertiRtiAmbassador.java from the JCERTI API) is an URL which contains the absolute local path of the FED (FOM) file. And everything is working as expected. But with different hosts, we cannot pass this absolute local path. One would like to use the FED file name and the FED file deployed on $CERTI_HOST/share/federations/ or in directory referenced by CERTI_FOM_PATH on the 'host1' running the 'rtig'. As for the moment, a workaround was proposed for PtII users in br_ptII_bug_53878. It works fine for a federation using 2 computers. However, the environement variable CERTI_FOM_PATH is not taken into account for this implementation, and if 2 federations are launched one after the other, the 2nd federation has the error CouldNotOpenFED. What is the form of the expected URL in the case two (or more) computers are used? As only the FED file name will return an malformed URL exception (in the master implementation). Here the lines in CertiRtiAmbassador.java: - master d2f82ad2 (2014 and since 2010) and also a47b br_bug_5387: request.setFederationName(executionName); try { request.setFEDid(new File(fed.toURI()).getCanonicalPath()); } catch (URISyntaxException ex) { (...) - 24cafd br_ptII_bug_53878 request.setFederationName(executionName); try { request.setFEDid(new File(fed.toURI()).getName()); } catch (URISyntaxException ex) { (...) Thank your for your help.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 6 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11