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

How to place the DAC-2012 benchmark suite #54

Closed
KaitoKiddo opened this issue Dec 21, 2021 · 16 comments
Closed

How to place the DAC-2012 benchmark suite #54

KaitoKiddo opened this issue Dec 21, 2021 · 16 comments

Comments

@KaitoKiddo
Copy link

KaitoKiddo commented Dec 21, 2021

Hi, I'm sorry to bother. I could place the ispd2005 benchmark suite, but when I tried to place DAC-2012 benchmark suite I met some problems.

I added dac-2012 benchmark suite in ./benchmarks, then I run the cmd "python dreamplace/Placer.py test/dac2012/superblue2.json".

It could place the superblue2 benchmark and generated the .pl file "superblue2.NCTUgr.pl".

But when reading the NCTU-GR 2.0, it threw an error:
FileNotFoundError: [Errno 2] No such file or directory: '...../results/superblue2/superblue2.NCTUgr.ofinfo'.
Why is there no such file in ./results ?

@limbo018
Copy link
Owner

Hi, I'm sorry to bother. I could place the ispd2005 benchmark suite, but when I tried to place DAC-2012 benchmark suite I met some problems.

I added dac-2012 benchmark suite in ./benchmarks, then I run the cmd "python dreamplace/Placer.py test/dac2012/superblue2.json".

It could place the superblue2 benchmark and generated the .pl file "superblue2.NCTUgr.pl".

But when reading the NCTU-GR 2.0, it threw an error: FileNotFoundError: [Errno 2] No such file or directory: '...../results/superblue2/superblue2.NCTUgr.ofinfo'. Why is there no such file in ./results ?

Hi, I just tried running superblue2 in DAC 2012 benchmarks. It works fine on my side. The *.ofinfo file is generated by NCTUgr under results/superblue2/ of your install directory.

Could you check if NCTUgr crashed on your machine?

Thanks

@KaitoKiddo
Copy link
Author

KaitoKiddo commented Dec 29, 2021

Hi, I'm sorry to bother. I could place the ispd2005 benchmark suite, but when I tried to place DAC-2012 benchmark suite I met some problems.
I added dac-2012 benchmark suite in ./benchmarks, then I run the cmd "python dreamplace/Placer.py test/dac2012/superblue2.json".
It could place the superblue2 benchmark and generated the .pl file "superblue2.NCTUgr.pl".
But when reading the NCTU-GR 2.0, it threw an error: FileNotFoundError: [Errno 2] No such file or directory: '...../results/superblue2/superblue2.NCTUgr.ofinfo'. Why is there no such file in ./results ?

Hi, I just tried running superblue2 in DAC 2012 benchmarks. It works fine on my side. The *.ofinfo file is generated by NCTUgr under results/superblue2/ of your install directory.

Could you check if NCTUgr crashed on your machine?

Thanks

Thank you for your reply.
In thirdparty, the NCTUgr.ICCAD2012 folder contains NCTUgr, DAC12.set, ICCAD12.set files, etc.
Does the NCTUgr need to be downloaded from DAC2012 contest or can be deployed to my machine when cmake?

@limbo018
Copy link
Owner

You can use the NCTUgr binary in the folder. I doubt the binary probably crashed when running on your machine. I actually downloaded the binary from the contest website.

@Eternity666
Copy link

Hi, sorry to bother! I met the same problem as you. Have you solved it?

@limbo018
Copy link
Owner

limbo018 commented Mar 17, 2022

Not sure if this can help. My machine is ubuntu 18.04 LTS with NVIDIA 2080TI GPU (NCTUgr binary does not rely on GPU). You'd better make sure NCTUgr does not crash on standalone runs, as DREAMPlace will call the NCTUgr binary during the optimization.

@Eternity666
Copy link

Running NCTUgr will result in a segmentation fault. When I view the core file through GDB, this information will be displayed. Do you know how to solve it? Thank you!

9e88fd9f16d9f20b3cf64bbdb49ce16

@limbo018
Copy link
Owner

It looks like the binary does not fit your machine. NCTUgr is not open-source, so unfortunately I don't know how it was written either.

@gjhhust
Copy link

gjhhust commented Mar 18, 2023

Running NCTUgr will result in a segmentation fault. When I view the core file through GDB, this information will be displayed. Do you know how to solve it? Thank you!

9e88fd9f16d9f20b3cf64bbdb49ce16

I also have same error,Did you solve?

@gjhhust
Copy link

gjhhust commented Mar 18, 2023

Hi, I'm sorry to bother. I could place the ispd2005 benchmark suite, but when I tried to place DAC-2012 benchmark suite I met some problems.
I added dac-2012 benchmark suite in ./benchmarks, then I run the cmd "python dreamplace/Placer.py test/dac2012/superblue2.json".
It could place the superblue2 benchmark and generated the .pl file "superblue2.NCTUgr.pl".
But when reading the NCTU-GR 2.0, it threw an error: FileNotFoundError: [Errno 2] No such file or directory: '...../results/superblue2/superblue2.NCTUgr.ofinfo'. Why is there no such file in ./results ?

Hi, I just tried running superblue2 in DAC 2012 benchmarks. It works fine on my side. The *.ofinfo file is generated by NCTUgr under results/superblue2/ of your install directory.
Could you check if NCTUgr crashed on your machine?
Thanks

Thank you for your reply. In thirdparty, the NCTUgr.ICCAD2012 folder contains NCTUgr, DAC12.set, ICCAD12.set files, etc. Does the NCTUgr need to be downloaded from DAC2012 contest or can be deployed to my machine when cmake?

I'm sorry to bother you, but did you solve it? I had the same problem

@ZhuLinsen
Copy link

@KaitoKiddo @Eternity666 @gjhhust hello, I'm sorry to bother you, but did you solve it? I had the same problem.
I'm puzzled as to why it is throwing errors because I am running it in a Docker environment.

Any suggestions would be greatly appreciated.Thank you.

@KaitoKiddo
Copy link
Author

I have finished placing dac2012 benchmark suite, without error. But I'm sorry that I don't run it in docker. @gjhhust @ZhuLinsen

@gjhhust
Copy link

gjhhust commented Jun 25, 2023

I was using superblue1 to run fast and default, but there was no problem with dac2012 benchmark. To see if NCTUGR is the problem, try NCTUGR on its own: https://people.cs.nctu.edu.tw/~whliu/NCTU-GR.htm

@gjhhust
Copy link

gjhhust commented Jun 25, 2023

I have finished placing dac2012 benchmark suite, without error. But I'm sorry that I don't run it in docker. @gjhhust @ZhuLinsen

Sorry, I used to run in my environment, and this issue has my environment description: #113

@KaitoKiddo
Copy link
Author

I have never met the errors that you mentioned. In DREAMPlace it has the NCTUgr and will be run when placing dac2012 benchmark. Maybe you can check your environment or docker. Thank you for your attention to this issue. Closing it.

@ZhuLinsen
Copy link

ZhuLinsen commented Jun 25, 2023

Hi @KaitoKiddo, Thank you for your response, so how did you solve the error as below?
FileNotFoundError: [Errno 2] No such file or directory: '...../results/superblue2/superblue2.NCTUgr.ofinfo'. Why is there no such file in ./results ?

@KaitoKiddo
Copy link
Author

Maybe you need to check your NCTUgr that is working.

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

5 participants