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

Instructions for testing do not work under debian 12. #205

Open
ebellani opened this issue Aug 2, 2024 · 6 comments
Open

Instructions for testing do not work under debian 12. #205

ebellani opened this issue Aug 2, 2024 · 6 comments

Comments

@ebellani
Copy link

ebellani commented Aug 2, 2024

./bin/linux/j64/jconsole test/tsu.ijs

|file name error
|       0!:0 y
Press ENTER to inspect
   
|value error
|   'dbr 0 to end inspection; use y___1 to look inside top stack frame (see code.jsoftware.com/wiki/Debug/Stack#irefs)'[    dbg_z_ 513
@bilam
Copy link
Contributor

bilam commented Aug 4, 2024

The error message said test/tsu.ijs not found.
what is your pwd?
From you current directory, does
ls test/tsu.ijs
find anything?

@ebellani
Copy link
Author

ebellani commented Aug 6, 2024

The error message said test/tsu.ijs not found. what is your pwd? From you current directory, does ls test/tsu.ijs find anything?

I'm on the project root.

ls test/tsu.ijs
test/tsu.ij

@bilam
Copy link
Contributor

bilam commented Aug 6, 2024

But what's your project root?

@ebellani
Copy link
Author

ebellani commented Aug 6, 2024

I don't follow your question. Here are my steps:

  1. git clone https://github.com/jsoftware/jsource j-lang-source
  2. cd j-lang-source
  3. cd make2/
  4. chmod +x *.sh
  5. ./clean.sh
  6. jplatform=linux j64x=j64avx2 ./build_libj.sh
  7. ./build_all.sh
  8. ./cpbin.sh
  9. cd ../
  10. ./bin/linux/j64avx2/jconsole ./test/tsu.ijs

@bilam
Copy link
Contributor

bilam commented Aug 6, 2024

Recap from make.txt

cd the jlibrary/bin or jlibrary/bin32 folder and run depending on the cpu architecture

avx2 / x86 / arm

./jconsole ../../test/tsu.ijs

avx512

./jconsole -lib libjavx512.so ../../test/tsu.ijs

nonavx

./jconsole -lib libj-nonavx.so ../../test/tsu.ijs

@ebellani
Copy link
Author

ebellani commented Aug 6, 2024

there is no jconsole on that folder

cd jlibrary/bin/ && ls
libjavx2.so profile.ijs

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