I downloaded and installed ubunto 9.04, and on top of that i have installed mitsimlab (the old stable version from ITS home webpage, the one which is 35.8 MB) according to the install description in the file "Install_09.pdf".
However, I could not get it to work.
The error I am getting when I try to run the "smc" executable is the following message:
maziar@its2:~/MITSIMLab/view/data/brunnsviken$ export HOST=its2
maziar@its2:~/MITSIMLab/view/data/brunnsviken$ smc
SMC Release 1.0 Beta
Copyright (C) 1996
Massachusetts Institute of Technology
All Right Reserved
# User Info: maziar@its2 (Fri Oct 23 03:51:32 2009)
# Version Info: anitarao (14:5:54 5/24/105)
Service <40003> assigned.
Finished parsing <master.smc>.
Start the simulation engine …
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on its2.
Simulation cancelled because of error.
smc terminated (15) on Fri Oct 23 03:51:32 2009
One thing i must tell you is about PVM, because at the moment i am starting pvm manually, from command line. I am not sure, is mitsimlab supposed to start it through some script ? Could this error be related to this problem ?
Please note that the PATH variable is already set, and "smc" executable is available system wide, but still there is the error that executable cannot be found.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Now about MITSIMLAB, there is a problem I think with the document Install_09.pdf , in that it does not explain how to install PVM. I mean if it is explaining how to deal with MITSIMLAB on Ubunto, then it should have mentioned how to install PVM also, because as far as I could see, PVM does not install with the Ubunto default installation, and it creates confusion later, when everything is shown in steps, but then suddenly we check and see PVM is not installed.
>Having said that, I tried installing Ubunto 9.04 again with the MITIMLAB old version, and I put my old PVM install in place. I tried all the installation steps as explained in the Install_09.pdf document.
I had the following results:
> 1. smc executable fails, with the error, that it cannot find xmitsimlab on the localhost, just immediately after it checks and sees that pvm is running on localhost successfully. Could this be a problem with pvm? Why should it not be able to find the xmitsim executable, when all the folders are already in the PATH variable? What could I do to fix this problem which has been bugging me for so long (it is the same old problem)? By the way, the document mentions, that it is ok to start PVM manually, and this is what I do, could this be a cause of the problem?
> 2. xmitsim/ mitsim executable works, and I can see the graphical display of the mitsimlab simulation. However, as you know, I cannot see the traffic control features, because tms/ xtms is not running. Now if xmitsim runs, then I guess PVM is up. But I do't understand why smc executable complains about not being able to find it like I explained above.
>I did not check the new vesion of MITSIMLab, I mean the development version also as above. But I will do so over the next couple of days.
If however you think that it is no point to check the same procedure via the MITSIMLab development version, since it will give the same result as the stable version, then I will just stick to checking the same old stable version.
>(…)
So,
1) Regarding the "Cannot find executable" i do believe that it is a configuration error. Can you please post your master.smc , master.mitsim, master.tms, network.dat and demand.dat files please?
Also please check that you have done these steps regarding PVM, before running the smc:
> Remove the existing PVM files by typing the following:
rm –fr /tmp/pvm*
>Execute PVM:
pvm ~/.pvm_hosts
> Verify that the host server has been added to the PVM repository by typing the following:
conf
2) You are right: you should install PVM at the 'manually'. In the *Install_09.pdf* it is written:
> Part 1 – Preparation of Ubuntu
>1) Prior requirements:
>MITSIMLab requires the graphics library GNOME. In the initial installation of Linux, choose
GNOME among the options present for Graphics Library.
In the initial installation of Linux install PVM, or install it using an RPM.
For Ubuntu, use a RPM or search for PVM in the installer.
However, you do NOT need PVM to run xmitsim.
Regards,
Carlos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> By the way, pvm does not start automatically, even though i did edit the .pvm_hosts file, and also I installed pvm via the apt-get command, so I had to start it manually by typing pvmd.
Yes, you have to clean it and launch it manually. You can always create scripts to automate commands at once.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1) Regarding the "Cannot find executable" i do believe that it is a configuration error. Can you please post your master.smc , master.mitsim, master.tms, network.dat and demand.dat files please?
I will supply my files here. There are just minor changes from the downloaded version in the \brunnsviken directory (the dat files are untouched, network.dat=brunnsviken_vrc.dat and demand.dat=manual _od55.dat) . I only changed the directories in these files.
I do think I'm initiating pvm correctly (but not sure), I am using Yang's script.
I think you don't have the .pvm_hosts file in your working directory..
Copy this file into the Brunnsviken directory. See that it has your computer name in it..Then run Yang's script..It should work..Don't forget to change the paths in the script accordingly..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I think you don't have the .pvm_hosts
> file in your working directory..
I forgot to change the script to point to the correct location for the .pvm_hosts file. But probably more importantly I was confused about the computer name. I checked my /etc/hostname file to get my computer name and inserted that entry for pvm to work. This solved the problem of "Cannot find executable".
Thanks for all the help.
Brendan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Sujith,
I have tried copying the .pvm_hosts file from the MITSIMLab directory which is the main directory mitsimlab is installed, into the "~/MITSIMLab/view/data/brunnsviken" directory. Below is my pvm_hosts file:
# Configuration file used for starting PVM for SIMLAB programs
I then switched to the "~/MITSIMLab/view/data/brunnsviken" directory, and tried running smc from there. No difference. I get the same error:
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on ITS1.
Simulation cancelled because of error.
I have tried copying the .pvm_hosts also into the pvm3 directory, where the "pvmd" and "pvm" executables are present, no difference, I got the same xmitsim not found error.
Best regards,
Maziar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
I have tried many times to start MTISIMLAB via with TMS, but there seems to be some sort of misconfiguration which I cannot figure out just by following the steps in the MITSIMLAB manual. I have tried everything that we have discussed so far in the question/ answers above, and also everything in the MITSIMLAB's manual. Yet everytime I run 'smc', I get the following error message:
SMC Release 1.0 Beta
Copyright (C) 1996
Massachusetts Institute of Technology
All Right Reserved
# User Info: maziar@ITS1 (Sat Jan 9 00:55:51 2010)
# Version Info: anitarao (14:5:54 5/24/105)
Service <40006> assigned.
Finished parsing <master.smc>.
Start the simulation engine …
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on ITS1.
Simulation cancelled because of error.
smc terminated (15) on Sat Jan 9 00:55:51 2010
Please note that I can run 'xmitsim', and I also have PVM running and I can run 'conf' and confirm PVM, and can also see the list of exported variables from within PVM. But as soon as I try running 'smc', I get this same error message. Note that I also posted this error, the first time I posted on this page, and it is still the same error, and I really cannot understand what changes to the configuration are necessary, since this is a simply configuration error, and not any type of major error, but still prevents the 'mitsim' and 'tms' running together, and thus I cannot see the traffic ontrol data.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error is related to the environment variables used by pvm.
If you type in the command line:
env
you must see these 4 variables:
HOST=<name of your computer>
XENVIRONMENT=<path to MITSIMLab folder>/bin/ad/xmitsim.ad
SIMLAB_Linux= <path to MITSIMLab folder>/bin/Linux
export SIMLAB_DAT=<path to MITSIMLab folder>/view/data/brunnsviken
Then, you should be able to run pvm and then the smc application.
If those are not specified you will not be able to run it.
Dear Carlos,
I did as you said. I checked the environment variables by running
env
at the command prompt. I had to define the variables "HOST", "SIMLAB_Linux", "SIMLAB_DAT" , since they were missing. After defining those, I returned to the ~/pvm3 where I have installed PVM, and then started PVM by running
./pvmd &
and then
./pvm
, and then
conf
to check PVM, and then
setenv
from within PVM, I could find the newly added environment variables at the command prompt, now in the PVM's exported variables. This means that any application going to use PVM, should be able to see the exported environment variables via PVM. I then switched to the "brunnsviken" directory, and tried executing
smc
. The same problem as before, where smc complains that the xmitsim executable is no where to be found.
I also read the link which you mentioned about the error which comes up about the 'Xm' or something libraries missing. This is true, and I also get the same type of error. If I try running the xsmc, or xtms, I get the error about the 'Xm' libraries or something similar missing or not present. About this error, you mentioned that this might be from packages not installed properly. But I have always had this error, even before when I was using the old version of linux with MITSIMLAB.
Please explain if there is anything I can do about the first error here, that is the one that cannot find the xmitisim executable. If you think I have to use a different version of linux, or PVM, then please just let me know, I will attempt to download and run the software at an appropriate time.
- Maziar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
I decided to save the messages which are output on the command line after running xmitsim. What comes next is everything from the moment xmitsim has started, to the moment the simulation has ended. There are some warning messages also, about some sort of missing 'path'. Could anyone help me here, on what the errors related to the path mean? Are these related to the real path, or are they harmless, because actually some problems that I am having with the path are something that if I run "smc" executable, then it would not be able to find the xmitsim executable, so the warning messages something related to something like that? Here they are:
Best regards, Maziar
No path tables. All vehicle will use progressive route choice model.
Linked to routing table /home/maziar/MITSIMLab/view/data/CATurban/Output/spt_i.tmp.
Checking routing tables …
No vehicle tables.
No bus routes.
No bus schedules.
No bus routes.
No bus assignments.
No bus stop parameters.
No bus sensing parameters.
No incident.
Start the simulation engine …
Initializing fonts ….. 5 fonts done.
No MOE specification.
No initial state.
Simulation start from empty network.
Loading OD tables …
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:20 (3): Path "2" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:29 (3): Path "4" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:30 (3): Path "6" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:31 (3): Path "8" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:32 (3): Path "12" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:33 (3): Path "10" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:34 (3): Path "14" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:126 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:138 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:290 (3): Path "17" not found and ignored.295 OD cells (type 128) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:336 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:345 (3): Path "3" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:346 (3): Path "5" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:347 (3): Path "7" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:348 (3): Path "11" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:349 (3): Path "9" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:350 (3): Path "13" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:416 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:432 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:584 (3): Path "17" not found and ignored.282 OD cells (type 1) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:631 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:685 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:694 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:777 (3): Path "17" not found and ignored.176 OD cells (type 4) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:819 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:873 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:882 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:965 (3): Path "17" not found and ignored.176 OD cells (type 5) parsed at 00:00:00.
I believe I might help you in this one. Haven't got time to look into the xsmc and compiling, yet…
Regarding this one, as far as I could understand, you have 3 different type of warning/errors:
1)
Warning: Value for GridType is deprecated and will be removed in next release
2)
Error:: No link connected to node <211>.
3)
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:20 (3): Path "2" not found
Lets start with the 1st one.
1)
The GridType variable is an attribute used by Xbae (and Xm) that sets the way the matrix grid is drawn by the GUI. I don't know much about GUIs but I believe that MITSIM graphical interface is seriously out of date. However you can avoid that warning by:
Go to:
cd ~/home/<you>/MITSIMLab/bin/ad/
Edit the common.ad file
gedit common.ad
Locate the XbaeMatrix.gridType variable and change its value from
XbaeMatrix.gridType: XmGRID_SHADOW_OUT
to
XbaeMatrix.gridType: XmGRID_CELL_LINE
save and close.
Done.
2) Error number 2 is related to bad input files. Basically you have nodes "floating" around that are useless to your current model design. I believe they might come from a previous structure, so you should not be worried about, as you don't have an y link (and thus vehicles) connecting to it.
3) The warning regarding the path table is another bad file design. Basically, in your master.mitsim you have specified a file for the Trip Table and no file for the Path Table:
gedit master.mitsim
= "od2004pm_I93.dat"
(…)
= ""
Your trip table file has some paths linked to your OD flows entries (check Manual pag 54):
The numbers in parenthesis (e.g. {1 2}) next to the OD flow entries show the allowed
paths between the corresponding OD pair. If no paths are listed for a particular OD pair,
MITSIMLab moves the vehicles using a link-based route choice model.
But then you don't have any path file that defines those paths links in your trip table file.
MITSIM will ignore those absent pre-defined paths and will use the chosen ink-based route choice model (shortest path, quickest path, etc…).
Probably there should be a file in the example folder of the CATurban, and is strangely missing. I do not have it myself either.
Hope it helps
Cheers
Carlos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maziar, each time you have a new bug report or help request please post it in a different discussion topic and put it in the right section (like the Help forum).
best
Carlos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded and installed ubunto 9.04, and on top of that i have installed mitsimlab (the old stable version from ITS home webpage, the one which is 35.8 MB) according to the install description in the file "Install_09.pdf".
However, I could not get it to work.
The error I am getting when I try to run the "smc" executable is the following message:
maziar@its2:~/MITSIMLab/view/data/brunnsviken$ export HOST=its2
maziar@its2:~/MITSIMLab/view/data/brunnsviken$ smc
SMC Release 1.0 Beta
Copyright (C) 1996
Massachusetts Institute of Technology
All Right Reserved
# User Info: maziar@its2 (Fri Oct 23 03:51:32 2009)
# Version Info: anitarao (14:5:54 5/24/105)
Service <40003> assigned.
Finished parsing <master.smc>.
Start the simulation engine …
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on its2.
Simulation cancelled because of error.
smc terminated (15) on Fri Oct 23 03:51:32 2009
One thing i must tell you is about PVM, because at the moment i am starting pvm manually, from command line. I am not sure, is mitsimlab supposed to start it through some script ? Could this error be related to this problem ?
Please note that the PATH variable is already set, and "smc" executable is available system wide, but still there is the error that executable cannot be found.
Hi Maziar,
After your email I deleted the "solved" reply.
> (…)
> Now about MITSIMLAB, there is a problem I think with the document Install_09.pdf , in that it does not explain how to install PVM. I mean if it is explaining how to deal with MITSIMLAB on Ubunto, then it should have mentioned how to install PVM also, because as far as I could see, PVM does not install with the Ubunto default installation, and it creates confusion later, when everything is shown in steps, but then suddenly we check and see PVM is not installed.
>Having said that, I tried installing Ubunto 9.04 again with the MITIMLAB old version, and I put my old PVM install in place. I tried all the installation steps as explained in the Install_09.pdf document.
I had the following results:
> 1. smc executable fails, with the error, that it cannot find xmitsimlab on the localhost, just immediately after it checks and sees that pvm is running on localhost successfully. Could this be a problem with pvm? Why should it not be able to find the xmitsim executable, when all the folders are already in the PATH variable? What could I do to fix this problem which has been bugging me for so long (it is the same old problem)? By the way, the document mentions, that it is ok to start PVM manually, and this is what I do, could this be a cause of the problem?
> 2. xmitsim/ mitsim executable works, and I can see the graphical display of the mitsimlab simulation. However, as you know, I cannot see the traffic control features, because tms/ xtms is not running. Now if xmitsim runs, then I guess PVM is up. But I do't understand why smc executable complains about not being able to find it like I explained above.
>I did not check the new vesion of MITSIMLab, I mean the development version also as above. But I will do so over the next couple of days.
If however you think that it is no point to check the same procedure via the MITSIMLab development version, since it will give the same result as the stable version, then I will just stick to checking the same old stable version.
>(…)
So,
1) Regarding the "Cannot find executable" i do believe that it is a configuration error. Can you please post your master.smc , master.mitsim, master.tms, network.dat and demand.dat files please?
Also please check that you have done these steps regarding PVM, before running the smc:
> Remove the existing PVM files by typing the following:
rm –fr /tmp/pvm*
>Execute PVM:
pvm ~/.pvm_hosts
> Verify that the host server has been added to the PVM repository by typing the following:
conf
2) You are right: you should install PVM at the 'manually'. In the *Install_09.pdf* it is written:
> Part 1 – Preparation of Ubuntu
>1) Prior requirements:
>MITSIMLab requires the graphics library GNOME. In the initial installation of Linux, choose
GNOME among the options present for Graphics Library.
In the initial installation of Linux install PVM, or install it using an RPM.
For Ubuntu, use a RPM or search for PVM in the installer.
However, you do NOT need PVM to run xmitsim.
Regards,
Carlos
> By the way, pvm does not start automatically, even though i did edit the .pvm_hosts file, and also I installed pvm via the apt-get command, so I had to start it manually by typing pvmd.
Yes, you have to clean it and launch it manually. You can always create scripts to automate commands at once.
Hi Carlos, I get a similar error as above.
> 1) Regarding the "Cannot find executable" i do believe that it is a configuration error. Can you please post your master.smc , master.mitsim, master.tms, network.dat and demand.dat files please?
I will supply my files here. There are just minor changes from the downloaded version in the \brunnsviken directory (the dat files are untouched, network.dat=brunnsviken_vrc.dat and demand.dat=manual _od55.dat) . I only changed the directories in these files.
I do think I'm initiating pvm correctly (but not sure), I am using Yang's script.
Thanks for the help.
Brendan
## master.smc ##
# Simlab master file
= "Brunnsviken Network"
= "~/MITSIMLab/view/data/brunnsviken"
= "~/MITSIMLab/view/data/brunnsviken/Output"
= {
"master.mitsim" # master file
"$HOST" # host
"$DISPLAY" # display
}
= {
"master.tms" # master file
"$HOST" # host
"" # display
}
= {
}
# = 1
# = 0
# User Info: mitsim@dhcp51.ce.kth.se (Wed Sep 1 19:20:53 1999)
# Version Info: qiyang (23:1:25 1/16/99)
##master.mitsim##
/*
* MITSIM master file
*/
= "Brunnsviken Network"
= "~/MITSIMLab/view/data/Common"
= "~/MITSIMLab/view/data/brunnsviken"
= "~/MITSIMLab/view/data/brunnsviken/Output"
= "~/MITSIMLab/view/data/brunnsviken/Output"
= "paralib.dat"
= "brunnsviken_vrc.dat"
= "manual_od55.dat"
= ""
= ""
= ""
= ""
= ""
= ""
= ""
= ""
= {
% Filename MinScale MaxScale
}
[ = {
"linktimeS-15.dat" # Historical travel time
"linktimeS-15.dat" # Updated travel time
0x5 # SP flags
% 0x001 Time variant path calculation
% 0x002 Calulate shortest path peridically
% 0x004 Update path table travel time peridically
% 0x008 Use existing (cached) shortest path table
% 0x100 Updated travel time used for pretrip plan
% 0x200 Receives updated travel time at beacon
}
= ""
= "path-stretch.dat"
= ""
= "moe.out"
= "i3d"
= "segstats.out"
= "segtime.out"
= "lft_i.out"
= "linktime.out"
= "vehicle.out"
= "trajectory.out"
= "transtraj.out"
= "busstop.out"
= "priority.out"
= "pathrec.out"
= "dep.out"
= "queue.out"
= "sensor.out"
= "vrc.out"
= "assignment_matrix.out"
= "lane_changing.out"
= 06:45:00
= 09:00:00
= 0.1
= 60
= 60
= 60
= 60
= 0.1
= 0.1
= 60
= 60
= {
}
= 0x0867
% 0x000001 = Vehicle log
% 0x000002 = Sensor readings
% 0x000004 = VRC readings
% 0x000008 = Assignment matrix output
% 0x000010 = Link travel times
% 0x000020 = Segment travel times
% 0x000040 = Segment statistics
% 0x000080 = Queue statistics
% 0x000100 = Travel time tables
% 0x000200 = Vehicle path records
% 0x000400 = Vehicle departure record
% 0x000800 = Vehicle trajectories
% 0x001000 = Output rectangular text
% 0x002000 = No comments
% 0x004000 = Transit trajectories
% 0x008000 = Bus stop arrivals
% 0x010000 = State 3D
% 0x020000 = Priority events
% 0x040000 = Lane changing file
= 0
% 0 = Link type
% 1 = Density
% 2 = Speed
% 3 = Flow
= 0x1
% 0x01 = Traffic signals
% 0x02 = Portal signals
% 0x04 = Variable speed limit signs
% 0x08 = Variable message signs
% 0x10 = Lane use signs
% 0x20 = Ramp meters
= 0x1
% 0x1 = Loop detectors
% 0x2 = VRC sensors
% 0x4 = Area sensors
= 3
% 0 = Count
% 1 = Flow
% 2 = Speed
% 3 = Occupancy
= 3
% 0 = None
% 1 = Vehicle type
% 2 = Information availability
% 3 = Turning movement
% 4 = Driver behavior group
% 5 = Lane use
= {
0 # Shade
86400 # Outstanding time in a segment
86400 # Outstanding time in the network
}
= {
# Label Position Scale Angle Tool ViewType Segment
# SensorType/Label/Color SignalType Map Legend
}
# = 1
# = 1
## master.tms ##
/*
* TMS master file
*/
= "Brunnsviken Network"
= "~/MITSIMLab/view/data/Common"
= "~/MITSIMLab/view/data/brunnsviken"
= "~/MITSIMLab/view/data/brunnsviken/Output"
= "~/MITSIMLab/view/data/brunnsviken/Output"
= "brunnsviken_vrc.dat"
= {
% Filename MinScale MaxScale
}
= "ctrlpara.dat"
= "ctrllogic.dat"
= "signal51.dat"
= 0
% 0x00 = None
% 0x01 = A1 incident response
% 0x02 = Gating logic
% 0x10 = McMaster incident detection
% 0x20 = APID incident detection
= 0
% 0 = Historical data
% 1 = Real time measurement
% 2 = Prediction
= 06:45:00
= 09:00:00
= 1
= 60
= 1
% 0 = Link type
% 1 = Density
% 2 = Speed
% 3 = Flow
= 0x1
% 0x01 = Traffic signals
% 0x02 = Portal signals
% 0x04 = Variable speed limit signs
% 0x08 = Variable message signs
% 0x10 = Lane use signs
% 0x20 = Ramp meters
= 0x0
% 0x1 = Loop detectors
% 0x2 = AVI sensors
% 0x4 = Area sensors
= 3
% 0 = Count
% 1 = Flow
% 2 = Speed
% 3 = Occupancy
= {
# Label Position Scale Angle Tool ViewType Segment
# SensorType/Label/Color SignalType Map Legend
}
# = 1
# = 0](http://Travel%20Times%20Input%20File)
Hi b1morris,
I think you don't have the .pvm_hosts file in your working directory..
Copy this file into the Brunnsviken directory. See that it has your computer name in it..Then run Yang's script..It should work..Don't forget to change the paths in the script accordingly..
Hey sujith, thanks for the idea
> I think you don't have the .pvm_hosts
> file in your working directory..
I forgot to change the script to point to the correct location for the .pvm_hosts file. But probably more importantly I was confused about the computer name. I checked my /etc/hostname file to get my computer name and inserted that entry for pvm to work. This solved the problem of "Cannot find executable".
Thanks for all the help.
Brendan
Hi Sujith,
I have tried copying the .pvm_hosts file from the MITSIMLab directory which is the main directory mitsimlab is installed, into the "~/MITSIMLab/view/data/brunnsviken" directory. Below is my pvm_hosts file:
# Configuration file used for starting PVM for SIMLAB programs
localhost.localdomain ep=$SIMLAB_Linux wd=$SIMLAB_DAT
bass.mit.edu ep=$SIMLAB_Linux wd=$SIMLAB_DAT
ITS1 ep=$SIMLAB_Linux wd=$SIMLAB_DAT
I then switched to the "~/MITSIMLab/view/data/brunnsviken" directory, and tried running smc from there. No difference. I get the same error:
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on ITS1.
Simulation cancelled because of error.
I have tried copying the .pvm_hosts also into the pvm3 directory, where the "pvmd" and "pvm" executables are present, no difference, I got the same xmitsim not found error.
Best regards,
Maziar
Check that pvm detects host as ITS1.
To do this, type pvm and then conf
Also, delete the bass.mit.edu line..
Double check the various paths used in the script.
Good Luck,
Sujith
Dear All,
I have tried many times to start MTISIMLAB via with TMS, but there seems to be some sort of misconfiguration which I cannot figure out just by following the steps in the MITSIMLAB manual. I have tried everything that we have discussed so far in the question/ answers above, and also everything in the MITSIMLAB's manual. Yet everytime I run 'smc', I get the following error message:
SMC Release 1.0 Beta
Copyright (C) 1996
Massachusetts Institute of Technology
All Right Reserved
# User Info: maziar@ITS1 (Sat Jan 9 00:55:51 2010)
# Version Info: anitarao (14:5:54 5/24/105)
Service <40006> assigned.
Finished parsing <master.smc>.
Start the simulation engine …
Starting <xmitsim> on $HOST …
xmitsim -m=/home/maziar/MITSIMLab/view/data/brunnsviken/master.mitsim -d::0.0 -sp=5 -nice=1
Cannot find executable.
Module MITSIM (xmitsim) cannot get started on ITS1.
Simulation cancelled because of error.
smc terminated (15) on Sat Jan 9 00:55:51 2010
Please note that I can run 'xmitsim', and I also have PVM running and I can run 'conf' and confirm PVM, and can also see the list of exported variables from within PVM. But as soon as I try running 'smc', I get this same error message. Note that I also posted this error, the first time I posted on this page, and it is still the same error, and I really cannot understand what changes to the configuration are necessary, since this is a simply configuration error, and not any type of major error, but still prevents the 'mitsim' and 'tms' running together, and thus I cannot see the traffic ontrol data.
Hi Maziar,
The error is related to the environment variables used by pvm.
If you type in the command line:
you must see these 4 variables:
Then, you should be able to run pvm and then the smc application.
If those are not specified you will not be able to run it.
Check the topic:
https://sourceforge.net/projects/mitsim/forums/forum/998193/topic/3491274
Dear Carlos,
I did as you said. I checked the environment variables by running
at the command prompt. I had to define the variables "HOST", "SIMLAB_Linux", "SIMLAB_DAT" , since they were missing. After defining those, I returned to the ~/pvm3 where I have installed PVM, and then started PVM by running
and then
, and then
to check PVM, and then
from within PVM, I could find the newly added environment variables at the command prompt, now in the PVM's exported variables. This means that any application going to use PVM, should be able to see the exported environment variables via PVM. I then switched to the "brunnsviken" directory, and tried executing
. The same problem as before, where smc complains that the xmitsim executable is no where to be found.
I also read the link which you mentioned about the error which comes up about the 'Xm' or something libraries missing. This is true, and I also get the same type of error. If I try running the xsmc, or xtms, I get the error about the 'Xm' libraries or something similar missing or not present. About this error, you mentioned that this might be from packages not installed properly. But I have always had this error, even before when I was using the old version of linux with MITSIMLAB.
Please explain if there is anything I can do about the first error here, that is the one that cannot find the xmitisim executable. If you think I have to use a different version of linux, or PVM, then please just let me know, I will attempt to download and run the software at an appropriate time.
- Maziar
Dear All,
I decided to save the messages which are output on the command line after running xmitsim. What comes next is everything from the moment xmitsim has started, to the moment the simulation has ended. There are some warning messages also, about some sort of missing 'path'. Could anyone help me here, on what the errors related to the path mean? Are these related to the real path, or are they harmless, because actually some problems that I am having with the path are something that if I run "smc" executable, then it would not be able to find the xmitsim executable, so the warning messages something related to something like that? Here they are:
Best regards, Maziar
maziar@ITS1:~/MITSIMLab/view/data/CATurban$ xmitsim
MITSIM Release 1.0 Beta
Copyright (C) 1996
Massachusetts Institute of Technology
All Right Reserved
# User Info: maziar@ITS1 (Sat Jan 30 04:11:00 2010)
# Version Info: anitarao (14:5:8 5/24/105)
/home/maziar/MITSIMLab/view/data/CATurban/xmitsim started in stand alone mode.
Loading resource /home/maziar/MITSIMLab/bin/ad/xmitsim.ad …
Display is :0.0
Warning: Value for GridType is deprecated and will be removed in next release
Warning: Value for GridType is deprecated and will be removed in next release
Warning: Value for GridType is deprecated and will be removed in next release
Warning: Value for GridType is deprecated and will be removed in next release
Warning: Value for GridType is deprecated and will be removed in next release
Initializing colors ……….. 76 colors done.
Collecting internal MOE for 7 intervals, 300 seconds in each interval
Finished parsing <master.mitsim>.
Finished parsing </home/maziar/MITSIMLab/view/data/Common/paralib.dat>.
Calculating network information …
Warning:: Destination nodes not defined.
All nodes are treated as destinations for shortest path calculations.
Finished parsing network database </home/maziar/MITSIMLab/view/data/CATurban/newnetwork.dat>
Calculating geometric data for graphics
Error:: No link connected to node <211>.
Untitled
Number of network objects:
Nodes = 210
Dest Nodes = 210
Intersection= 1
Links = 247
Segments = 679
Lanes = 1341
Sensors = 723
Signals = 729
Toll Booths = 18
Bus Stops = 0
SD Functions= 1
Total lengths (meters):
Links = 85453.5
Lanes = 177250
No path tables. All vehicle will use progressive route choice model.
Linked to routing table /home/maziar/MITSIMLab/view/data/CATurban/Output/spt_i.tmp.
Checking routing tables …
No vehicle tables.
No bus routes.
No bus schedules.
No bus routes.
No bus assignments.
No bus stop parameters.
No bus sensing parameters.
No incident.
Start the simulation engine …
Initializing fonts ….. 5 fonts done.
No MOE specification.
No initial state.
Simulation start from empty network.
Loading OD tables …
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:20 (3): Path "2" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:29 (3): Path "4" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:30 (3): Path "6" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:31 (3): Path "8" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:32 (3): Path "12" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:33 (3): Path "10" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:34 (3): Path "14" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:126 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:138 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:290 (3): Path "17" not found and ignored.295 OD cells (type 128) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:336 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:345 (3): Path "3" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:346 (3): Path "5" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:347 (3): Path "7" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:348 (3): Path "11" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:349 (3): Path "9" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:350 (3): Path "13" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:416 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:432 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:584 (3): Path "17" not found and ignored.282 OD cells (type 1) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:631 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:685 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:694 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:777 (3): Path "17" not found and ignored.176 OD cells (type 4) parsed at 00:00:00.
Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:819 (3): Path "1" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:873 (3): Path "15" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:882 (3): Path "16" not found and ignored.Warning:: No path table. /home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat:965 (3): Path "17" not found and ignored.176 OD cells (type 5) parsed at 00:00:00.
1 OD cells (type 67) parsed at 00:00:00.
Finished parsing </home/maziar/MITSIMLab/view/data/CATurban/od2004pm_I93.dat>.
Warning: Value for GridType is deprecated and will be removed in next release
(28:23) queued at 17:06:00.0
(28:34) queued at 17:07:00.0
(28:37) (217:26) queued at 17:08:00.0
(28:48) (217:30) queued at 17:09:00.0
(28:56) (217:36) (218:23) queued at 17:10:00.0
(28:63) (217:43) (218:25) queued at 17:11:00.0
(28:68) (217:50) (218:29) queued at 17:12:00.0
(28:78) (217:58) (218:31) queued at 17:13:00.0
(28:88) (217:67) (218:33) queued at 17:14:00.0
(28:86) (217:74) (218:40) queued at 17:15:00.0
(28:93) (217:76) (218:42) queued at 17:16:00.0
(28:100) (217:81) (218:43) queued at 17:17:00.0
(28:102) (217:85) (218:46) queued at 17:18:00.0
(28:111) (217:87) (218:49) queued at 17:19:00.0
(28:112) (217:91) (218:52) queued at 17:20:00.0
(28:118) (183:33) (184:28) (217:99) (218:53) queued at 17:21:00.0
(28:125) (183:66) (184:49) (217:105) (218:58) queued at 17:22:00.0
(0:68) (28:132) (183:97) (184:70) (210:27) (217:113) (218:62) queued at 17:23:00.0
(0:112) (28:135) (96:23) (183:130) (184:86) (210:38) (217:119) (218:64) queued at 17:24:00.0
(0:167) (28:140) (183:161) (184:106) (210:46) (217:121) (218:66) queued at 17:25:00.0
(0:230) (28:150) (96:26) (183:187) (184:120) (210:57) (217:127) (218:68) queued at 17:26:00.0
(0:287) (28:154) (96:33) (183:214) (184:142) (210:69) (217:134) (218:71) queued at 17:27:00.0
(0:342) (28:163) (96:40) (183:245) (184:157) (210:81) (217:141) (218:73) queued at 17:28:00.0
(0:389) (28:165) (96:36) (183:281) (184:171) (210:91) (217:145) (218:77) queued at 17:29:00.0
(0:437) (28:167) (96:39) (183:311) (184:188) (210:100) (217:150) (218:81) queued at 17:30:00.0
Number of Vehicles:
Active = 4465
Arrived = 26139
Incompleted = 142
InQueue = 1474
Running Time Summary:
Simulated = 1800.1
Real Time = 76.66
CPU Time = 74.37
Simulation completed.
Output files are in directory </home/maziar/MITSIMLab/view/data/CATurban/Output>.
Writing moe data in </home/maziar/MITSIMLab/view/data/CATurban/Output/moe.out>.
25997 complete and 4465 incomplete trips recorded in </home/maziar/MITSIMLab/view/data/CATurban/Output/moe.out>.
142 error(s) detected. See </home/maziar/MITSIMLab/view/data/CATurban/Output/mitsim.out> for details.
MITSIM terminated (0) on Sat Jan 30 04:12:21 2010
Hey Maziar,
I believe I might help you in this one. Haven't got time to look into the xsmc and compiling, yet…
Regarding this one, as far as I could understand, you have 3 different type of warning/errors:
1)
2)
3)
Lets start with the 1st one.
1)
The GridType variable is an attribute used by Xbae (and Xm) that sets the way the matrix grid is drawn by the GUI. I don't know much about GUIs but I believe that MITSIM graphical interface is seriously out of date. However you can avoid that warning by:
Go to:
Edit the common.ad file
Locate the XbaeMatrix.gridType variable and change its value from
to
save and close.
Done.
2) Error number 2 is related to bad input files. Basically you have nodes "floating" around that are useless to your current model design. I believe they might come from a previous structure, so you should not be worried about, as you don't have an y link (and thus vehicles) connecting to it.
3) The warning regarding the path table is another bad file design. Basically, in your master.mitsim you have specified a file for the Trip Table and no file for the Path Table:
Your trip table file has some paths linked to your OD flows entries (check Manual pag 54):
But then you don't have any path file that defines those paths links in your trip table file.
MITSIM will ignore those absent pre-defined paths and will use the chosen ink-based route choice model (shortest path, quickest path, etc…).
Probably there should be a file in the example folder of the CATurban, and is strangely missing. I do not have it myself either.
Hope it helps
Cheers
Carlos
By the way,
Maziar, each time you have a new bug report or help request please post it in a different discussion topic and put it in the right section (like the Help forum).
best
Carlos