---
name: "MBK_CATA_LIB"
section: "1"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MBK_CATA_LIB"
---

# MBK\_CATA\_LIB(1)

define the mbk catalog directory

## NAME

MBK\_CATA\_LIB - define the mbk catalog directory

## SYNOPSYS

```
c-shell running
setenv MBK_CATA_LIB path1:path2:path3:...:...:pathn
```

## DESCRIPTION

**MBK\_CATA\_LIB** sets the directories that are to be searched thru for reading. When instanciating a cell for example, the first cell that is found with the given name is loaded in memory.\
 The seaching mecanism first look in [**MBK\_WORK\_LIB**(1)](/MBK_WORK_LIB/1.md), and then, in path1 thru pathn, in the order defined by the user when typing the setenv command. This directories are considered to be, from a mbk point of view, read only.\
 The pathi arguments must be actually accessible pathes on your host machine.

## ERRORS

**"mbk\_fopen : can't open file 'unix\_path/file.xx' thru directories : path1, ..., pathn"**

This occurs when either the unix path is irrelevent, or when the file doesn't exist. This can also be a unix right problem if the file is not accessible for reading, but this is seldom.

## EXAMPLE

```
	setenv MBK_CATA_LIB ~fred/crechan/uom:/labo/sclib
```

## DIAGNOSTICS

Only the first path may be given with a '~', since the shell extents it only when seen first.

## SEE ALSO

[**mbk**(3)](/mbk/3.md), [**genlib**(1)](/genlib/1.md), [**MBK\_WORK\_LIB**(1)](/MBK_WORK_LIB/1.md).
