Giter Club home page Giter Club logo

Comments (7)

jeffhammond avatar jeffhammond commented on July 29, 2024 1
  1. I'm only going to respond to bug reports submitted in text format. Screen shots are not valid bug reports.
  2. Compile with -fmax-stack-var-size=1024 (or some other small-ish number) or run with ulimit -s unlimited.

from stream.

Venland30 avatar Venland30 commented on July 29, 2024

还想问下,这里生成的文件可以针对平台适配吗?在linux平台不在叫xx.exe文件

from stream.

jeffhammond avatar jeffhammond commented on July 29, 2024

I also want to ask, can the files generated here be adapted to the platform? The xx.exe file is no longer called on the linux platform

Linux doesn't care about the file suffix, so .exe is fine. That it complies with the Windows convention is irrelevant.

from stream.

Venland30 avatar Venland30 commented on July 29, 2024
  1. 我只会回复以文本格式提交的错误报告。屏幕截图不是有效的错误报告。
  2. -fmax-stack-var-size=1024使用(或其他一些小数字)编译或使用ulimit -s unlimited.

github git clone [email protected]:loong-C/STREAM.git
正克隆到 'STREAM'...
remote: Enumerating objects: 80, done.
remote: Counting objects: 100% (30/30), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 80 (delta 26), reused 23 (delta 23), pack-reused 50
接收对象中: 100% (80/80), 27.27 KiB | 27.27 MiB/s, 完成.
处理 delta 中: 100% (45/45), 完成.
➜ github cd STREAM
➜ STREAM git:(master) ls
HISTORY.txt LICENSE.txt Makefile mysecond.c README stream.c stream.f
➜ STREAM git:(master) make
gcc -O2 -fopenmp -c -o mysecond.o mysecond.c
gcc -O2 -fopenmp -c mysecond.c
gfortran -O2 -fopenmp -c stream.f
gfortran -O2 -fopenmp stream.o mysecond.o -o stream_f.exe
gcc -O2 -fopenmp stream.c -o stream_c.exe
➜ STREAM git:(master) ./stream_f.exe
[1] 24426 segmentation fault ./stream_f.exe
➜ STREAM git:(master) ps -ef | grep 24426
ut00449+ 24602 27160 0 17:39 pts/0 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox 24426

from stream.

Venland30 avatar Venland30 commented on July 29, 2024

I also want to ask, can the files generated here be adapted to the platform? The xx.exe file is no longer called on the linux platform

Linux doesn't care about the file suffix, so .exe is fine. That it complies with the Windows convention is irrelevant.

OK

from stream.

jeffhammond avatar jeffhammond commented on July 29, 2024

You appear to have ignored this:

Compile with -fmax-stack-var-size=1024 (or some other small-ish number) or run with ulimit -s unlimited.

Please try again.

from stream.

scivision avatar scivision commented on July 29, 2024

this is fixed by #11

from stream.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.