VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.

Home Page:http://www.openram.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4 test case failed for freepdk and scn4m

z4fang opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.
I ran unit test and got

FAILING TESTS
freepdk45/21_model_delay_test.bad
freepdk45/21_xyce_setuphold_test.bad
freepdk45/23_lib_sram_test.bad
freepdk45/30_openram_sram_char_test.bad
scn4m_subm/21_model_delay_test.bad
scn4m_subm/21_xyce_setuphold_test.bad
scn4m_subm/23_lib_sram_test.bad
scn4m_subm/30_openram_sram_char_test.bad

all logs have this error:

[2023-10-26 10:13:54.741365] ERROR: file stimuli.py: line 421: Spice simulation error: /bin/bash -c 'source /home/kfang/work/unittest/OpenRAM/miniconda/bin/activate && /home/kfang/work/unittest/OpenRAM/miniconda/bin/mpirun -np 8 /home/kfang/work/unittest/OpenRAM/miniconda/bin/Xyce -r /home/kfang/work/unittest/OpenRAM/compiler/tests/results/scn4m_subm/21_model_delay_test/tmp/timing.raw -o /home/kfang/work/unittest/OpenRAM/compiler/tests/results/scn4m_subm/21_model_delay_test/tmp/timing.lis /home/kfang/work/unittest/OpenRAM/compiler/tests/results/scn4m_subm/21_model_delay_test/tmp/delay_stim.sp && conda deactivate'

Version
Which commit are you using?
3113798

Logs
If applicable, add logs or output to help explain your problem.

image

Additional context
Add any other context about the problem here.

It would help to see the log files for each of the tests to see what is going on. These should be in the directory with .log extension.

Since these are all characterization, it is likely an updated version of Xyce that causes a characterization problem.

logs.zip

I have attached the .log and .out logs.
I belive the error come from the command
/home/kfang/work/OpenRAM/env/bin/mpirun -np 3 /home/kfang/work/OpenRAM/env/bin/Xyce -r /tmp/openram_kfang_2312715_temp/timing.raw -o /tmp/openram_kfang_2312715_temp/timing.lis /tmp/openram_kfang_2312715_temp/delay_stim.sp

image

It looks like your system is missing a Xyce dependency. You need to install the fftw3-3 shared library. In Ubuntu, I just do:
sudo apt install fftw3 fftw3-dev

This issue should be fixed with v1.2.43 (caa9b2a).