Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stackdump on Win Platform #3

Open
victorchou0811 opened this issue May 17, 2019 · 4 comments
Open

stackdump on Win Platform #3

victorchou0811 opened this issue May 17, 2019 · 4 comments

Comments

@victorchou0811
Copy link

I'm implementing such algorithm on Windows by using Clion with command as follows: simulatedAnnealingEMD.exe -file proto.txt -circulant 500 -upGirth 6 -emd 2 -seed 123 -numberOfMatrices 1 -girth 8
proto.txt: 16 6 1 0 0 0 0 1 0 1 0 1 1 0 1 0 0 2 1 1 0 0 0 0 0 1 1 0 0 1 0 1 1 2 0 1 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 0 1 0 1 0 0 1 1 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 2 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0 2

However, it cause stackdump and error as follows: 0 [main] simulatedAnnealingEMD 5394 cygwin_exception::open_stackdumpfile: Dumping stack trace to SimulatedAnnealing.exe.stackdump

@Lcrypto
Copy link
Owner

Lcrypto commented May 18, 2019

Just use MS studio to build project. I return windows binary file and Multi-edge LDPC lifting example in folder. If you use linux like tool-chain (i see cygwin in you error), compile source code from 'linux' folder by 'run.sh' compile script. I make copy of SA lifting project for demo on linux on https://codeocean.com/capsule/1267563/tree/v1.
With BR,
Vasiliy.

@ghost
Copy link

ghost commented May 20, 2019

I compile the linux version under windows with mingwin-64 without problems.
I just did a quick compile and run on the latest code in the linux directory and it worked
with the sample proto.txt in that directory.
Maybe your proto.txt doesn't have the right format or isn't in the right directory...
The line feeds got messed up in your post so it's hard to tell.
Does the program run with the sample proto.txt ?

@Lcrypto
Copy link
Owner

Lcrypto commented May 20, 2019

Dear ymaqdisi. I check all example. It work, please try at codeocean (https://codeocean.com/capsule/1267563/ ) capsule version. If you shall have problem in capsule write to me.

@ghost
Copy link

ghost commented May 20, 2019

I should have put @victorchou0811 in my post; the response was directed to him to see if the example
worked for him on windows...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants