Is C-shell really mandatory for running Cadence tools?

Discussion in 'Cadence' started by spectrallypure, Sep 9, 2010.

  1. Hi all!

    Years ago, when I was introduced to Cadence, I was told that the C-
    shell was the "de facto" shell to be used for running its various
    tools. Now, after years of using this shell as my default shell in all
    the linux machines in which I work, I am wondering if there is really
    the necessity to use this particular shell for running the Cadence
    tools at all, or if I could use any other one as well.

    My main motivation is that every now and then I find it necessary to
    create shell scripts for tasks that have nothing to do with Cadence,
    and I think that it would be more efficient to use a more recent shell
    for these programming tasks, like, for instance, the bash shell.
    Moreover, it seems that everywhere on the internet people advise
    against the use of the c-shell, and some even anticipate its
    deprecation in future linux releases!

    So, would it be perfectly possible to use, for instance, the bash
    shell for running Cadence tools? After all, from the Cadence point of
    view, isn't it all about defining the right environment variables?

    Thanks in advance for any comments/ideas!

    Cheers,

    Jorge
     
    spectrallypure, Sep 9, 2010
    #1
  2. spectrallypure

    jayl-news Guest

    No. There is no such restriction, and never was.

    Cadence's own wrapper scripts (in tools/bin, tools/dfII/bin, etc.) are
    a mix of ksh, sh, csh, perl, etc. But mostly ksh.

    -Jay-
     
    jayl-news, Sep 9, 2010
    #2
  3. OK Jay; thanks so much for clarifying that!
     
    spectrallypure, Sep 11, 2010
    #3
  4. spectrallypure

    Guest Guest

    Jorge,

    The shell you use interactively doesn't matter. For scripting, C-shell is
    definitely more overhead than other shells, and most Cadence scripts nowadays
    are written as ksh scripts. A properly written script specifies the shell it
    uses in the first line of the script, so it doesn't matter what your
    interactive shell is.

    -Pete Zakel
    ()

    Law of Probable Dispersal:
    Whatever it is that hits the fan will not be evenly distributed.
     
    Guest, Sep 13, 2010
    #4
  5. spectrallypure

    me at Guest

    |>So, would it be perfectly possible to use, for instance, the bash
    |>shell for running Cadence tools? After all, from the Cadence point of
    |>view, isn't it all about defining the right environment variables?
    |
    | Jorge,
    |
    | The shell you use interactively doesn't matter. For scripting, C-shell is
    | definitely more overhead than other shells, and most Cadence scripts nowadays
    | are written as ksh scripts. A properly written script specifies the shell it
    | uses in the first line of the script, so it doesn't matter what your
    | interactive shell is.
    |
    | -Pete Zakel
    | ()
    |
    | Law of Probable Dispersal:
    | Whatever it is that hits the fan will not be evenly distributed.



    Yeah, mine is tcsh but all of my scripts are writtin in sh.
     
    me at, Sep 14, 2010
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.