Page 1 of 1

Problems with PGM_to_MICRESS

Posted: Fri Mar 31, 2017 6:35 am
by wzb198910
Hello,
I am a new user of MICRESS. Recently, I run the process along the munual "Preparing Experimental Microstructures for MICRESS".
Every thing have done except the last step when I run the command : PGM_to_MICRESS.exe C.pgm C.txt.
The program started, then the cursor shining everywhere in the black dos window.
8 hours have passed, but no C.txt output file was generated.
So I don't know whether is this a problem.
Should I need to wait for a longer time.

This is my system:
Microsoft Windows XP Professional Vision 2002 Service Pack 3 install on VMware
Intel (R) Core(TM) i7-6700
512MB

The attachments are the PGM_to_MICRESS.exe, the C.pgm that treated by the software GIMP2.8.20 in Win10 system, the screenshot of the running dos window. In which I changed the extansion because the "Invalid file extension" updata the file : PGM_to_MICRESS.exe to PGM_to_MICRESS.txt; C.pgm to C.txt.

Regards,
wzb198910

Re: Problems with PGM_to_MICRESS

Posted: Fri Mar 31, 2017 9:14 am
by ralph
Hi wzb,

PGM_To_MICRESS is a script written in Perl (file extension usually .pl).
Unfortunately, Windows does not provide such developer tools (compiles, script interpreters, etc.) with a normal Windows installation.
To use the script, you have to install a Perl interpreter of your choice and start it with the script as a parameter from command line.

About Perl: https://en.wikipedia.org/wiki/Perl
Download: https://www.perl.org/get.html

Cheers,
Ralph

Re: Problems with PGM_to_MICRESS

Posted: Fri Mar 31, 2017 12:15 pm
by wzb198910
Hi Ralph,

The problem have been solved after installed the software "ActiveState Perl".
Thank you very much. :D

wzb198910

Re: Problems with PGM_to_MICRESS

Posted: Tue Aug 01, 2017 3:23 pm
by ralph
An additional information for other users:
That's how it looks like with an Active Perl installation available:
Run_PGMtoMICRESS_with_ActivePerl_on_Win7.png
Run_PGMtoMICRESS_with_ActivePerl_on_Win7.png (265.36 KiB) Viewed 6375 times
If the path to the perl binary is not in the path, call it directly " C:\Perl64\bin\perl .... ".

Cheers,
Ralph