Home > Back-end >  TMCimg model of open source code running problems, separate to tMCimg. The main function and project
TMCimg model of open source code running problems, separate to tMCimg. The main function and project

Time:04-21

Download the open source tMCimg code on the net, now engineering to generate the original package has been completed, but after the operation, in accordance with the requirements input file and then click the "Enter", run the box disappeared, step through found that the program is running to the location in the diagram below, will automatically jump out, at the end of the recognition process of subroutines in chose the launch process,

Pop-up command line window is as follows:

As requested, I type: tMCimg m sample window directly to disappear after CFG click Enter, exit process,
This problem has been solved, so the thought of his program's website and a tmcimg. The primary function in the c file with the engineering package is the same file name, so does the need for a replacement, alone. C main function is as follows:

Their content is not the same, but looked at separately to more like the main function of monte carlo simulation process, so I had to replace the main function, the results reported an error has been not solve, the diagram below:

Should add the lib is added in, the library path, reference path are added, still not solve, don't know is that I replace wrong or I can't solve this problem,
So, there is a great god the successful running this code or the problem I mentioned it is can show understanding of the ~ thank you thank you!

Url mentioned code is as follows:
https://www.nmr.mgh.harvard.edu/DOT/resources/tmcing.htm
https://www.nmr.mgh.harvard.edu/PMI/resources/tmcimg/index.htm
(the second url as the first, the content is not more than the first, for the operation of the step basic useless, I am using Windows)
Below are the content code url:

Below is the main function of the project:

Below is separate to the main function:


I downloaded the basic, main is a tMCimg. Zip bags, a tMCimg TGZ zip, TGZ this package should be four files inside ran. C \ ran2 c \ ran3 c and have different content of the same name in a large project file tMCimg. C, zip package to input file is "sample. The CFG", also is in the engineering. C files to run to the input file format,
And separate to. See program content requirements input is c file. Inp format of the input file, the two examples are given in the above connection file,
  • Related