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

Running locomotive example throws std::logic_error #46

Open
lgrozinger opened this issue Nov 26, 2019 · 0 comments
Open

Running locomotive example throws std::logic_error #46

lgrozinger opened this issue Nov 26, 2019 · 0 comments

Comments

@lgrozinger
Copy link

After building ASL successfully from source, running the example described in the README fails:

~ $ cd src/build-asl/examples/flow/locomotive/
~/src/build-asl/examples/flow/locomotive $ ./asl-locomotive --input locomotive.stl
ASL WARNING: ApplicationParametersManager::load() - no parameters file provided. Using default and/or command line values.
Data initialization... Finished
Numerics initialization... terminate called after throwing an instance of 'std::logic_error'
  what():  ASL ERROR: CommandQueue::enqueueNDRangeKernel() - kernel (-4).
aborted (core dumped)

I first suspected that OpenCL was at fault, but it appears to be working correctly. Some further info:

~ $ asl-hardware
Platform: NVIDIA Corporation
Number of devices: 1
	GeForce GT 730
		type: GPU
		number of compute units: 2
		alignment: 128
		local memory type: CL_LOCAL
		local memory size: 49152
		max item size: 1024
		vector width float: 1
		vector width double: 1
		extension CL_KHR_FP64: 1
		extension CL_KHR_INT64_EXTENDED_ATOMICS: 0
		supported OpenCL version: OpenCL 1.2 CUDA
		OpenCL driver version: 390.116

~ $ lspci -v | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1) (prog-if 00 [VGA controller])

~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic

Is there any advice on this or experience with similar issues?

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

1 participant