Skip to content

Running locomotive example throws std::logic_error #46

@lgrozinger

Description

@lgrozinger

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions