Hi list,
It's been awhile since I've posted anything useful--I have badly
broken my desktop's pd install and am setting up a new pd install on
my laptop today. I've run into problems with having too many
compilations of pd and installing them system-wide. I realized that I
needed to have different installations for development and some
standard compilations of vanilla and extended--plus wanting to try out
pd-l2ork and pd-double precision that I've never tried before. Also,
it's good to be able to have many versions of the same software for
regression testing and documenting bugs.
That's the motivation for now setting up "environment modules",
sometimes also called "Unix modules", keeping multiple instances of
software and choosing among them which one will be added to the path
in the current shell. So, this is a discussion of how to get modules
working effectively for Pd.
1. Install
Deb/Ubuntu:
apt-get install environment-modules
RH/Fedora:
yum install environment-modules
(I leave it up to you to tell me what you do in OSX or arch).
To test, start a new terminal and run
module avail
If you receive the "module: command not found" error, then check your
terminal preferences. Modules depend on having a "login" shell to
properly run startup scripts.
Modules use environment variables to keep track of the module search
path and loaded modules. The "module" command itself is an alias for
"modulecmd $SHELL $@" (paraphrased). To see the full list of module
related variables, run:
env | grep -i module
2. Location of module files
as non-root user, run
module load use.own
This will create a directory ~/privatemodules directory and the file
"null" in it. "module avail" will list "null" in your privatemodules
directory. You may replace "privatemodules" with a symlink to some
other location if you wish. Each time you want to load modules from
~/privatemodules, you have to run "module load use.own" first.
as root, you can edit /usr/share/modules/init/.modulespath and add any
path you like, like an NFS location. You can also just place modules
into one of the default search paths, like
/etc/environment-modules/modules or /usr/share/modules/modulefiles.
Note: you may need to add or edit some things as root anyway. Test
your installation for this tab-completion error in bash. Type "module
load <tab>-<tab>" and see what happens.
In Ubuntu 14.04, the /etc/bash_completion.d/modules script has this line:
/usr/share/modules/3.2.10/bin/modulecmd bash -t avail 2>&
However, there is no such file. You can edit the file and change that
path to /usr/bin/modulecmd or create a symlink to /usr/bin/modulecmd
as /usr/share/modules/3.2.10/bin/modulecmd. Neither solution will
save you from re-encountering this bug next time you update
environment-modules.
digression: In ye olde cluster mill, this is how we're handling the
massive pileup of software: the OS install includes only development
software and infrastructure using packages (for platform stability and
consistency at the expense of performance). All applications and
high-performance libraries are installed as a non-root user into
locations in NFS. This lets us maintain arbitrary versions of
software without collisions or replacement, to be used at the users'
discretion. In the past, I had re-written parts of a custom
application called "mpi-selector" (from Cisco) to let users setup
their environment... and later found out there was already a 20-year
old solution named "modules". I edit the .modulespath file and
include a location in NFS--there's no sync issues and no outdated
files on the nodes, because everything needed for applications is in
NFS. If a user needs to run a previous version at a date in the
future to reproduce results or compare changes, this can be done
easily and without admin assistance.
3. What to put in a module file:
If you've already installed modules, run
man modulefile
http here: http://linux.die.net/man/4/modulefile
The first line of a module should be:
#%Module
The primary commands you'll need are
prepend-path
setenv
set-alias
Note that modules use tcl, with specific commands that get translated
according to which shell you're currently using. You can't run
arbitrary code to setup Pd in the module file (please prove me wrong
:D ). If you have your own "run-pd.sh" script, that differs for each
version of Pd you want to use, you can still manage this well with an
alias and environment variables.
4. Using defaults
For sh/bash, edit ~/.profile or ~/.bash_profile, or for csh/tcsh, edit
~/.cshrc, and add
module load use.own (for non-root user privileges as mentioned above)
module load pd-0.45.4
To load a different version, you can unload the current version
(tab-completion will list loaded modules) and then load a new one,
such as
module unload pd-0.45.4
module load pd-extended-0.43.4
5. Pure Data specific concerns (please provide feedback for anything
I may overlook---or simpler ways to accomplish things)
the HOME directory:
Each version of pd you're using may have its own home directory and
have its own .pdsettings file.
For this I make a tree of version-specific home directories such as:
mkdir -p /home/chenry/pd_HOME/pd-0.45.4
separate installation directories:
Then, I make an installation directory for it:
mkdir /home/chenry/pd-0.45.4
and compile using --prefix=/home/chenry/pd-0.45.4
My modules file for pd-0.45.4 is:
#%Module
setenv PD_HOME /home/chenry/pd_HOME/pd-0.45.4
setenv PD_BIN /home/chenry/pd-0.45.4/bin
prepend-path PATH /home/chenry/pd-0.45.4/bin
prepend-path LD_LIBRARY_PATH /home/chenry/pd-0.45.4/lib
set-alias pd {HOME=$PD_HOME $PD_BIN/pd $*}
set-alias pd-gui.tcl {HOME=$PD_HOME $PD_BIN/pd-gui.tcl $*}
set-alias pdsend {HOME=$PD_HOME $PD_BIN/pdsend $*}
set-alias pdreceive {HOME=$PD_HOME $PD_BIN/pdreceive $*}
I think this script might be a bit longer than it needs to be, but not
by much. Any feedback is most welcome.
I found that I needed the PD_BIN variable in my "set-alias" commands.
I think I managed to cause a stack overflow with the alias pd as
{HOME=$PD_HOME pd $*}
You can check the aliased commands with the "type" command, ex. "type pd"
Also, the alias will not apply when you run pd in a debugger, such as
"strace pd". You will need to expand the alias yourself and place the
variable declaration at the front as:
HOME=$PD_HOME strace $PD_BIN/pd
I also considered having HOME set to the PD_HOME variable globally,
which would avoid aliases. If you did, defaults in ~/.profile would
be a little annoying. Also, changes to other programs ~/. files would
be discarded when changing pd versions.
If you are not setting any defaults, it's fine to just set HOME in
your module files, knowing that you will be running only Pd after
running "module load" (and maybe jackd as well, if you have different
settings for jack you'd like to apply to each pd version). In which
case, a working module file becomes just this short:
#%Module
setenv HOME /home/chenry/pd_HOME/pd-0.45.4
prepend-path PATH /home/chenry/pd-0.45.4/bin
prepend-path LD_LIBRARY_PATH /home/chenry/pd-0.45.4/lib
Chuck
Hi all,
The Irish Sound, Science and Technology Association announced a call for submissions for its 2015 Convocation, held in Limerick, Ireland, August 12-13.
It has four tracks: music, workshops, art and papers/posters. It's open to all nationalities, ages, etc.
The theme is "Resonance and Recapitulation: Echo of a Renaissance," tied very closely to the past year of events in Limerick City, but we are accepting submissions outside the theme, as usual. More information is available at the link below.
Miller Puckette (whom you all know) is our keynote this year, and we're very excited to have him.
So please submit. All instructions, information, explanation of the theme, etc., can be found here: http://issta.ie/index.php/call-2015/ and the deadline is March 1.
Thanks,
Kerry
www.kerrylhagan.netwww.spade.ul.iewww.dmarc.iewww.issta.ie
> On Jan 17, 2015, at 3:09 AM, pd-list-request(a)lists.iem.at wrote:
>
> Also dynamic loading works fine, the issue was libpd was being built without HAVE_LIBDL defined.
Actually I was wrong about this. The basic c lib is built with HAVE_LIBDL, but I wasn’t using it in the Xcode project or in ofxPd. Fixing that now.
I’ve done updates to libpd, including building in the externals in pure-data/extra with “make EXTRA=true” and calling their setup functions in libpd_init() when LIBPD_EXTRA is defined. This way you get a complete vanilla, including expr, etc.
--------
Dan Wilcox
@danomatika
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
hi list,
I have a question for LD_PRELOAD.
To load leapmotion.pd_linux, i have to run pd with LD_PRELOAD.
for example:
$ LD_PRELOAD=libLeap.so puredata my-patch.pd
Is there a way to load linux binary without LD_PRELOAD? For example
[import], or startup flag or something else. I wanna load the .so library
after pd starts up.
On Mac OS X this LD_PRELOAD not needed. If I just type [leapmotion] then it
just works. I like it.
I'm looking for the alternative way, but not found.
Any suggest?
Thanks,
akntk
leapmotion for pd link:
https://github.com/chikashimiyama/Pd_leapmotion
Yes please include it in vanilla if possible. That would be an awesome help to me.
Things in the extra folder can be built with libpd. The only issue we had before was the expr~ licensing, but that was fixed about a year ago. By default, the Makefile doesn’t build the extra sources, but I’m going to add them now. I’ve been using them as well as other externals in PdParty for some time now and other projects using ofxPd, so I know static linking when building libpd works.
Also dynamic loading works fine, the issue was libpd was being built without HAVE_LIBDL defined. I’ve been doing some updates to libpd and added that. Dynamic loading, however, isn’t allowed on iOS, so it’s left off there.
--------
Dan Wilcox
@danomatika
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
> On Jan 15, 2015, at 12:03 AM, pd-list-request(a)lists.iem.at wrote:
>
> From: Miller Puckette <msp(a)ucsd.edu <mailto:msp@ucsd.edu>>
> Cc: pd-list(a)lists.iem.at <mailto:pd-list@lists.iem.at>
> To: Joel Matthys <jwmatthys(a)gmail.com <mailto:jwmatthys@gmail.com>>
> Date: January 14, 2015 at 6:46:03 PM EST
> Subject: Re: [PD] Miller's Moogfilter
>
>
> I'll get it cross-compiled at some point - if I throw it in vanilla it'll
> happen automatically, but if I end up figuring it's better left separate I'll
> put it out as a self-contained muiltiplatform extern.
>
> I'd be more disposed to put it in 'extra' if it ever works out
> to include 'extra' objects in libpd - because I saw on this list people
> wanted that.
>
> cheers
> Miller
Hi everyone,
To make a good start for this year, I managed to compile the updated
cyclone library on Windows.
A MacOSX version is expected later.
The zip also includes the new revised help-patches, so it should be a
replacement for the cyclone directory in your .\pd\extra directory. Note
this is only a preview, not anything like a proper release! But bug
reports and remarks are welcome!
There is not even a virus-checker on my old XP build-system, so be careful!
http://fjkraan.home.xs4all.nl/digaud/puredata/cyclone/cyclone0.57previewWin…
Greetings & happy new year!
Fred Jan
=========================
Artist Category Added: ISEA2015
=========================
((( ISEA2015 ))) 21st International Symposium on Electronic Art
Due to numerous requests, the submission deadline for long art or research papers, short art or research papers, art or research extended abstracts with demonstration or poster presentation, panels, institutional presentations, workshops and tutorials is extended to January 12, 2015.
A new category of Abstracts for Artist Short Talks, Demonstration and Works in Progress has been added to accommodate art works with a deadline of February 20, 2015.
August 14-18 2015, Vancouver, Canada.
http://ISEA2015.org
Submission types:
=========================
The 21st International Symposium on Electronic Art (ISEA) will be held August 14-18, 2015, in Vancouver, Canada. The ISEA2015 symposium will be hosted by Simon Fraser University’s Faculty of Communication Arts and Technology (FCAT), and a vast variety of local academic and artistic partners. ISEA is the largest nomadic international gathering on 'electronic and emergent media'. Since its start in the Netherlands in 1988 it has taken place on 4 continents and in over 20 different cities. The event annually brings together artists, designers, academics, technologies, scientists, and general audiences. The symposium consists of a peer reviewed conference, a series of exhibitions and partner events - from large-scale interactive artwork in public spaces to cutting edge electronic music performance.
For this extended deadline, ISEA2015 welcomes submissions for two broad categories:
1 - A set of workshops and tutorials will occur on Friday the 14th, and Saturday the 15th of August 2015. See the call for workshops, tutorials, and institutional presentations for more details on how to propose yours: http://isea2015.org/call-for-proposals/workshops-tutorials/
2 - The academic symposium will occur from Sunday the 16th to Tuesday the 18th of August 2015. It includes the following activities for which we solicit submissions:
* Long Art or Research Papers (8 pages) with Oral Presentation
* Short Art or Research Papers (4 pages) with Oral Presentation
* Extended Abstracts (2 pages) with Demonstration or Poster Presentation
* Round Tables and Square Panels
* Institutional Presentations
* Abstracts for Artist Short Talks, Demonstration and Works in Progress
ISEA2015 submissions in the Long paper, Short paper, and Extended abstract categories need to be the full length version of the paper (not only the abstract). The Proceedings are an important outcome for ISEA, which is the main trace of the symposium and contribution to the larger academic and artistic community at large. Each submission will be thoroughly reviewed by members from our International Program Committee. Accepted submission will be published in the ISEA2015 Proceedings (with an ISBN/ISSN). These proceedings will be available online, at no cost, prior to the symposium.
For more details on how to contribute in any of the above categories, see our call for papers and panels here: http://isea2015.org/call-for-proposals/papers-posters-and-panels/
Submissions are to be made through our ISEA2015 EasyChair portal: https://www.easychair.org/conferences/?conf=isea2015
While, every submission relevant to the ISEA community will be reviewed and considered, the ones relevant to the ISEA2015 theme of DISRUPTION will be given priority: http://isea2015.org/about/theme/
Visit us on Facebook for updates: https://www.facebook.com/ISEA2015
Important dates:
=========================
- 12 January 2015: Submission deadline for long art or research papers, short art or research papers, art or research extended abstracts with demonstration or poster presentation, panels, institutional presentations, workshops and tutorials
- 15 February, 2015: Notifications of acceptance of long art or research papers, short art or research papers, panels, institutional presentations, workshops and tutorials
- 20 February, 2015: Submission deadline for abstracts for artist short talks, demonstration and works in progress
- 21 March, 2015: Notifications of acceptance for art or research extended abstracts with demonstration or poster presentation, art or research demonstrations and abstracts for artist short talks, demonstration and works in progress
- 14-18 August, 2015: ISEA2015 Symposium
=========================
Symposium Organizers
======================
Dr. Philippe Pasquier (Symposium Director)
School of Interactive Arts and Technology (SIAT)
Simon Fraser University, Vancouver, Canada.
Dr. Thecla Schiphorst (Symposium Director)
School of Interactive Arts and Technology (SIAT)
Faculty of Communication, Arts & Technology (FCAT),
Simon Fraser University, Vancouver, Canada.
Kate Armstrong (Artistic Director)
Independent Curator, Director of the Social + Interactive Media (SIM) Centre,
Emily Carr University of Art+Design,
Vancouver, Canada.
Malcolm Levy (Artistic Director)
Independent Curator, Director of Hybridity,
Vancouver, Canada.
=======================
ISEA INTERNATIONAL
The series of ISEA symposia is coordinated by ISEA International. Founded in the Netherlands in 1990, ISEA International (formerly Inter-Society for the Electronic Arts) is an international non-profit organization fostering interdisciplinary academic discourse and exchange among culturally diverse organizations and individuals working with art, science and technology. ISEA International Headquarters is supported by the University of Brighton (UK).
=========================
International Program Committee:
*
Adrian Cheok Keio University, Japan
*
Adrian Carballal Universidade da Coruña, Spain
*
Alan Dorin Monash University, Australia
*
Amaranth Borsuk University of Washington at Bothell, USA
*
Amy K. Hoover University of Central Florida, USA
*
Andrew Murphie University of New South Wales, Australia
*
Andrew Horner University of Science & Technology, Hong Kong
*
Anna Munster University of New South Wales, Australia
*
Anna Ursyn University of Northern Colorado, USA
*
Annabel Cohen University of Prince Edward Island, Canada
*
Antonios Liapis IT University of Copenhagen, Denmark
*
Antony Nevin Massey University, New Zealand
*
Arne Eigenfeldt Simon Fraser University, Canada
*
Avneesh Sarwate Princeton University, USA
*
Baptiste Caramiaux Goldsmiths, University of London, UK
*
Ben Lacker Independent Artist
*
Benjamin Carey The University of Technology, Sydney, Australia
*
Benjamin Smith University of Illinois at Urbana-Champaign, USA
*
Beryl Graham University of Sunderland, UK
*
Bill Manaris College of Charleston, USA
*
Bonnie Mitchell Bowling Green State University, USA
*
Brad Moody American University of Dubai, UAE
*
Brian Magerko Georgia Institute of Technology, USA
*
Brian Bailey University of Illinois at Urbana-Champaign, USA
*
Brian Ross Brock University, Canada
*
Bruce Wands School of Visual Arts, USA
*
Bunt Brogan University of Wollongong, Australia
*
Caitlin Fisher York University, Canada
*
Carlos Guedes New York University Abu Dhabi, UAE
*
Caroline Langill OCAD University, Canada
*
Casey Reas University of California, Los Angeles, USA
*
Chris Salter Concordia University, Canada
*
Chris Speed University of Edinburgh, UK
*
Chris Chesher The University of Sydney, Australia
*
Christiane Paul The New School, USA
*
Colin Johnson University of Kent, UK
*
Dan Ventura Brigham Young University, USA
*
Daniel Bisig Zurich University of the Arts, Switzerland
*
Daniel Jones Goldsmiths, University of London, UK
*
David Johnson College of Charleston, USA
*
David Kirsh University of California, San Diego, USA
*
Deborah Cornell The New School, USA
*
Dene Grigar Washington State University Vancouver, USA
*
Diane Willow University of Minnesota, USA
*
Diarmuid O'Donoghue National University of Ireland, Ireland
*
Diego Maranan University of Plymouth, UK
*
Dimitrios Charitos National and Kapodistrian University of Athens, Greece
*
Dooeun Choi The New School, USA
*
Dot Tuer OCAD University, Canada
*
Douglas Repetto Columbia University, USA
*
Eelco Denheijer Vrije Universiteit Amsterdam, Netherlands
*
Elena Jessop MIT Media Lab, USA
*
Elena Márquez Segura Uppsala University, Netherlands
*
Elinor Nina Czegledy Concordia University, Canada
*
Elisa Rubegni Università della Svizzera italiana, Italy
*
Amílcar Cardoso University of Coimbra, Portugal
*
Ferhan Cook International Digital and Mobile Media Consultant, UK
*
Florian 'Floyd' Mueller RMIT University, Australia
*
Francesco Monico University of Plymouth, UK
*
Frank Lee Drexel University, USA
*
Frank Dufour The University of Texas at Dallas, USA
*
Frieder Nake University of Bremen, Germany
*
Gary Greenfield University of Richmond, USA
*
Georg Boenn University of Bath, UK
*
Greg Corness Columbia College Chicago, USA
*
Hans Dehlinger University of Kassel, Germany
*
Henry Tsang Emily Carr University of Art and Design, Canada
*
Ian Clothier Western Institute of Technology at Taranaki, New Zealand
*
Ingrid Bachman Concordia University, Canada
*
Irini Papadimitriou Victoria & Albert Museum, UK
*
Jack Ox University of New Mexico, USA
*
Jakob Tholander Stockholm University, Sweden
*
James Maxwell Simon Fraser University, USA
*
James Partaik Université du Québec à Chicoutimi, Canada
*
Jamie Bullock Birmingham Conservatoire, UK
*
Jan C. Schacher Zurich University of the Arts,Switzerland
*
Jane Prophet City University, Hong Kong
*
Jane Grant University of Plymouth, UK
*
Janis Jefferies Goldsmiths University, UK
*
Jason Freeman Georgia Institute of Technology, USA
*
Jayne Wallace University of Dundee, UK
*
Jeffrey Albert Loyola University New Orleans, USA
*
Jeremy Hight Washington State University at Vancouver, USA
*
Jim Bizzocchi Simon Fraser University, Canada
*
Jinsil Hwaryoung Seo Texas A+M University, USA
*
Jocelyn Spence University of Surrey, UK
*
John Shearer University of Lincoln, UK
*
John Toenjes University of Illinois Urbana-Champaign, USA
*
Jon McCormack Monash University, Australia
*
Jonathan Eisenmann Ohio State University, USA
*
José Fornari NICS/Unicamp, Brasil
*
Juan Romero University of A Coruña, Spain
*
Judith Doyle OCAD University, Canada
*
Juliana Espana-Keller Concordia University, Canada
*
Kate Pullinger DeMontfort University, UK
*
Katerina El Raheb University of Athens & "Athena" Research Center, Greece
*
Kevin Badni American University of Sharjah, UAE
*
Lafrances Hui Asia Society New York, USA
*
Laurent Grisoni University of Lille, France
*
Lian Loke University of Sydney, Australia
*
Linda Candy University of Technology Sydney, Australia
*
Lise Hansen The Oslo School of Architecture and Design, Norway
*
Lynne Heller OCAD University, Canada
*
Maria Fernandez Cornell University, USA
*
Maria Lantin Emily Carr University of Art and Design, Canada
*
Marina Lapalma Independent Scholar, USA
*
Marina Devos University of Bath, UK
*
Marion Walton University of Cape Town, South Africa
*
Marjorie Perloff Stanford University, USA
*
Mark America University of Colorado at Boulder, USA
*
Mark Marino University of Southern California Los Angeles, USA
*
Marta Ameri Colby College USA
*
Martin Brain University of Oxford, UK
*
Matthew Yee-King Goldsmiths, University of London, UK
*
Matthew Lewis Ohio State University, USA
*
Maximos Kaliakatsos-Papakostas University of Patras, Greece
*
Michael Cook Imperial College London, UK
*
Michael Century Rensselaer Polytechnic Institute, USA
*
Michael O'Neill University College Dublin, Ireland
*
Mike Phillips University of Plymouth, UK
*
Muhammed Shameel Ajman University of Science and Technology, Ajman, UAE
*
Myfanwy Ashmore Independent Artist, Canada
*
Nadia Magnenat Thalmann University of Geneva, Switzerland
*
Nathaniel Stern University of Wisconsin-Milwaukee, USA
*
Nick Bryan-Kinns Queen Mary University of London, UK
*
Nicolas Monmarché Université de Tours, France
*
Nina Colosi Stream Museum, USA
*
Pablo Gervás Universidad Complutense de Madrid, Spain
*
Palle Dahlstedt University of Gothenburg, Sweden
*
Patrick Lichty University of Wisconsin-Milwaukee, USA
*
Paul Catanese Columbia College Chicago, USA
*
Paulo Urbano Universidade de Lisboa, Portugal
*
Penousal Machado University of Coimbra, Portugal
*
Peter Anders Kayvala PLC, USA
*
Peter Beyls Universidade Católica Porto, Portugal
*
Peter Bentley University College London, UK
*
Petra Gemeinboeck University of New South Wales, Australia
*
Philip Galanter Texas A&M University, USA
*
Radu-Daniel Vatavu University Stefan cel Mare of Suceava, Romania
*
Rita Raley University of California, Santa Barbara, USA
*
Roger Malina University of Texas at Dallas, USA
*
Rolf Inge Godøy University of Oslo, Norway
*
Samirah Alkassim Independent Artist, USA
*
Sarah Lahti Zayed University, Dubai, UAE
*
Scott Fitzgerald New York University, USA
*
Scott Delahunta Coventry University, UK
*
Scott Rettberg University of Bergen, Norway
*
Simon Colton Goldsmiths College, University of London, UK
*
Simon Penny University of California, Irvine, USA
*
Sita Popat University of Leeds, UK
*
Somnuk Phon-Amnuaisuk Brunei Institute of Technology, Malaysia
*
Sotiris Manitsaris MINES ParisTech, France
*
Stephanie Cash Burnaway Magazine, USA
*
Su Ballard Wollongong University, NSW, Australia
*
Sue Gollifer University of Brighton, UK
*
Tien Wei Woon Independent Artist and Curator, Singapore
*
Tim Boykett Times Up Art Collective, Austria
*
Tim Ryan RMIT University, Australia
*
Tim Blackwell Goldsmiths, University of London, UK
*
Tristan D'Estree Sterk School of the Art Institute of Chicago, USA
*
Vicki Sowry Australian Network for Art & Technology (ANAT), Australia
*
Victoria Szabo Duke University, USA
*
Wim Vanderplas Utrecht University of Applied Sciences, Netherlands
*
Woodman Taylor American University in Dubai, UAE
*
Xin Wei Sha Arizona State University, USA
_______________________________________________
Pd-announce mailing list
Pd-announce(a)lists.iem.at
http://lists.puredata.info/listinfo/pd-announce
Hi, F13.paf.control mentions the existence of a [paf~] extern that I guess
should be in the extra folder of vanilla, but it ain't there.
What happened to it?
The readme.txt in extra on vanilla mentions also about a link to download
it at http://www.crca.ucsd.edu/~tapel - but this link is dead.
Thanks