EC3145

2 minute readReference

Synopsis

ERROR EC3145: Couldn’t start cluster build on cm([hostname]): InvalidResource: Resource name is not defined. ‘[resource]’

Description

When connecting to the Cluster Manager (CM), this error is produced if Electric Make (emake) requests resource management and the CM does not recognize the resource.

The resource is specified with either the –emake-resource command- line option or the EMAKE_RESOURCE environment variable. The value of either or both of these options is causing emake to report this error.

The error originates on the CM, which is specfied with either the –emake-cm command-line option or the EMAKE_CM environment variable.

The resource that the user specified is given at the end of the error message. The cluster manager that the user specified is given at the start of the error message.

Reasons

There are several possible causes for this error:

  • The user may have misspelled the resource name.

  • The user may have used the wrong cluster manager, in environments with multiple distinct clusters.

  • The build class configuration in the cluster manager may have an invalid resource specification.

  • The user is experimenting with priority pool resources, and has incorrectly retained the __pool_ prefix when specifying the pool name to emake.

  • The user is experimenting with priority pool resources, but the cluster manager is not using the priority pool resource manager.

Fixes

Verify the spelling of the resource name specified to emake. Be sure to check command-line options, the EMAKEFLAGS environment variable, and the build class configuration in the cluster manager. Verify that you have specified the correct cluster manager when invoking emake.

Using cmtool or the Agents ⇒ Resource page, list the resources available on this CM. Specify a valid resource, or create a new resource with the same name given to emake.

If you are trying to use priority pool resources, ensure that you have specified the resource name without the __pool_ prefix. That is, if you have a pool defined as __pool_fast, the resource should be specified to emake simply as fast.

Alternatively, specify a CM that has the resource in question.