Skip to content

Segmentation fault in SphericalCovariants for covariant_lambda=0 #392

Open
@bananenpampe

Description

@bananenpampe

Hello everyone,

calling the SphericalCovariants function with covariant_lambda=0 results in a segmentation fault.

#load some wrapped training structures

hypers = {"soap_type": "LambdaSpectrum",
          "interaction_cutoff": 3,
          "radial_basis": "GTO",
          "max_radial": 9,
          "max_angular": 9,
          "gaussian_sigma_constant": 0.3,
          "gaussian_sigma_type":"Constant",
          "cutoff_function_type":"ShiftedCosine",
          "cutoff_smooth_width": 0.5,
          "normalize": True,
          "cutoff_function_parameters":dict(rate=1,scale=3.5,exponent=4),
          "covariant_lambda":0
         }

calculator = SphericalCovariants(**hypers)
X_train = calculator.transform(train_structures).get_features(calculator)

The relevant gdb output is:

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007fffcc99365b in void rascal::CalculatorSphericalCovariants::compute_impl<(rascal::internal::SphericalCovariantsType)0, 0, rascal::AdaptorStrict<rascal::AdaptorCenterContribution<rascal::AdaptorNeighbourList<rascal::StructureManagerCenters> > > >(std::shared_ptr<rascal::AdaptorStrict<rascal::AdaptorCenterContribution<rascal::AdaptorNeighbourList<rascal::StructureManagerCenters> > > >) ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions