Comments (6)
That's a pretty big matrix so I am not surprised it eats into your CPU usage.
FGSL is really just a thin wrapper around GSL, so any performance issues will be due to the underlying GSL methods that are being called. You can confirm this by rewriting your program into C and use GSL directly.
from fgsl.
Thank you for the quick response! Sorry, I should have said that the CPU usage is over multiple CPUs. I have run the same program in c and it uses 100% of 1 CPU, but when I write the same code in Fortran with fgsl it starts using nearly 100% of multiple CPUs.
from fgsl.
Oh I understand now.
You seem to be using a for loop in your Fortran code that calls fgsl_splinalg_itersolve_iterate
. Given that the top-level for loop iterations look independent to me, perhaps the Fortran compiler parallellized them out? Did you use some aggressive optimisation option while compiling? Perhaps try with all optimisations turned off (-O0
) and see if the multithreading persists.
Either way, I am not convinced that FGSL could be responsible for this.
from fgsl.
Thank you! Unfortunately turning off the optimizations seems to not work either. I am going to do a bit of research and see if other FORTRAN flags could be anyway related to multi-threading. Again thanks so much for the help and quick responses. Hopefully, I will be able to get it working!
from fgsl.
I am closing this issue as not directly related to the FGSL implementation.
from fgsl.
Question on usage was answered.
from fgsl.
Related Issues (20)
- GSL 2.2.1 is out... HOT 7
- Undefined reference to cblas upon make check HOT 6
- make check -- all tests failed -- See tests/test-suite.log Please report to [email protected] HOT 2
- pgfortran issue -- failed to compile -- two tests failed HOT 2
- GSL 2.4 is out... HOT 4
- How to compile? HOT 1
- Linking problems against GSL 2.6 on Windows HOT 4
- How to Install properly? HOT 2
- FGSL fails to build against GSL >2.0 HOT 5
- Issue when compiling an example program HOT 3
- [Package Manage] fgsl to support fpm? HOT 4
- versions for Ubuntu 20.04.4 and/or OpenSuSE leap 15.3
- Usage of __FILE__ leads to truncated lines HOT 3
- add topic tags in About section HOT 1
- nvfortran build: nlfit4 crashes
- ifx build: test in linalg fails HOT 1
- distribution builds are not available anymore HOT 3
- OSX build 1 failure:: gsl: gamma.c:1264 HOT 2
- Compilation failure with GSL 2.1 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fgsl.