From iraicu at cs.iit.edu Wed May 1 15:01:33 2013 From: iraicu at cs.iit.edu (Ioan Raicu) Date: Wed, 01 May 2013 15:01:33 -0500 Subject: [Swift-user] CALL FOR PARTICIPATION: The 13th IEEE/ACM International Symposium on, Cluster, Cloud and Grid Computing Message-ID: <5181749D.1070507@cs.iit.edu> ******************************** **** CALL FOR PARTICIPATION **** ******************************** The 13th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing **** CCGrid 2013 **** Delft University of Technology, Delft, the Netherlands May 13-16, 2013 http://www.pds.ewi.tudelft.nl/ccgrid2013 CCGrid is a series of very successful conferences, sponsored by the IEEE Computer Society Technical Committee on Scalable Computing (TCSC) and the ACM, with the overarching goal of bringing together international researchers, developers, and users to provide an international forum to present leading research activities and results on a broad range of topics related to clusters, grids and clouds and their applications. **** VENUE **** The CCGrid 2013 conference will be held on the campus of Delft University of Technology, which was founded in 1842 by King William II and which is the oldest and largest technical university in the Netherlands. It is well established as one of the leading technical universities in the world. Delft is a small, historical town dating back to the 13th century. Delft has many old buildings and small canals, and it has a lively atmosphere. The city offers a large variety of hotels and restaurants. Many other places of interest (e.g., Amsterdam and The Hague) are within one hour distance of traveling. Traveling to Delft is easy. Delft is close to Amsterdam Schiphol Airport (60 km, 45 min by train), which has direct connections from all major airports in the world. Delft also has excellent train connections to the rest of Europe. **** HIGHLIGHTS OF THE CONFERENCE PROGRAM **** - A keynote by the winner of the IEEE Award for Excellence in Scalable Computing Speaker: Marc Snir, Argonne National Laboratory and University of Illinois at Urbana-Champaign, USA Title: Programming Models for High-Performance Computing - Two additional keynote speakers: * Speaker: Simon Portegies Zwart, Leiden University, the Netherlands Title: The Astronomical Multipurpose Software Environment and the Ecology of Star Clusters * Speaker: Daniel A. Reed, University of Iowa, USA Title: Clusters, Grids and Clouds: A Look from Both Sides - Four workshops and three tutorials on Monday, May 13 - 14 technical paper sessions - A poster presentation and a poster session plus reception - A panel on Cloud Computing - A conference dinner on Wednesday, May 15 **** GENERAL CHAIR **** Dick Epema, Delft University of Technology, the Netherlands **** PROGRAM CHAIR **** Thomas Fahringer, University of Innsbruck, Austria **** PROGRAM VICE-CHAIRS **** Rosa Badia, Barcelona Supercomputing Center, Spain Henri Bal, Vrije Universiteit, the Netherlands Marios Dikaiakos, University of Cyprus, Cyprus Kirk Cameron, VirginiaTech, USA Daniel Katz, University of Chicago & Argonne Nat Lab, USA Kate Keahey, Argonne National Laboratory, USA Martin Schulz, Lawrence Livermore National Laboratory, USA Douglas Thain, University of Notre Dame, USA Cheng-Zhong Xu, Shenzhen Inst. of Advanced Techn, China **** DOCTORAL SYMPOSIUM CO-CHAIRS **** Yogesh Simmhan, University of Southern California, USA Ana Varbanescu, Delft University of Technology, the Netherlands **** SCALE CHALLENGE CO-CHAIRS **** Alexandru Iosup, Delft University of Technology, the Netherlands Douglas Thain, Notre-Dame University, USA **** POSTERS CHAIR **** Rob van Nieuwpoort, Netherlands eScience Center, the Netherlands **** WORKSHOPS CO-CHAIRS **** Shantenu Jha, Rutgers and Louisana State University, USA Ioan Raicu, Illinois Institute of Technology, USA **** TOTORIALS CHAIR **** Radu Prodan, University of Innsbruck, Austria **** SUBMISSIONS AND PROCEEDINGS CHAIR **** Pavan Balaji, Argonne National Laboratory, USA **** FINANCE AND REGISTRATION CHAIR **** Alexandru Iosup, Delft University of Technology, the Netherlands **** PUBLICITY CO-CHAIRS **** Nazareno Andrade, University Federal de Campina Grance, Brazil Gabriel Antoniu, INRIA, France Bahman Javadi, University of Western Sysney, Australia Ioan Raicu, Illinois Institute of Technology and Argonne National Laboratory, USA Kin Choong Yow, Shenzhen Inst. of Advanced Technology, China **** CYBER CHAIR **** Stephen van der Laan, Delft University of Technology, the Netherlands **** LOCAL ARRANGEMENTS **** Esther van Rooijen, Delft University of Technology, the Netherlands -- ================================================================= Ioan Raicu, Ph.D. Assistant Professor, Illinois Institute of Technology (IIT) Guest Research Faculty, Argonne National Laboratory (ANL) ================================================================= Data-Intensive Distributed Systems Laboratory, CS/IIT Distributed Systems Laboratory, MCS/ANL ================================================================= Editor: IEEE TCC, Springer JoCCASA Chair: IEEE/ACM MTAGS, ACM ScienceCloud, IEEE/ACM DataCloud ================================================================= Cel: 1-847-722-0876 Office: 1-312-567-5704 Email: iraicu at cs.iit.edu Web: http://www.cs.iit.edu/~iraicu/ Web: http://datasys.cs.iit.edu/ LinkedIn: http://www.linkedin.com/in/ioanraicu Google: http://scholar.google.com/citations?user=jE73HYAAAAAJ ================================================================= ================================================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: From lpesce at uchicago.edu Wed May 8 14:43:13 2013 From: lpesce at uchicago.edu (Lorenzo Pesce) Date: Wed, 8 May 2013 14:43:13 -0500 Subject: [Swift-user] Issue with map reduce step one app to many Message-ID: This is more or less the step I would do. My problem is that I am not sure how do I arrange the return of a set of files without connecting them first and I can't connect them since they are not made yet. I could conceivably create a list first and use that, but I was curious to know whether there is a shortcut. The files in the intermediate step at least at this point are not important to us and don't need to be tracked. file inbam; file [] RGinfile; file [] RGoutfile; (RGinfile) app1(inbam); for file, idx in RGfile { (RGoutBAM)=app2 (file); RGoutfile [idx]) = RGoutBAM ; } (BAM) = app3 (RGoutfile); From wilde at mcs.anl.gov Thu May 9 13:28:13 2013 From: wilde at mcs.anl.gov (Michael Wilde) Date: Thu, 9 May 2013 13:28:13 -0500 (CDT) Subject: [Swift-user] Issue with map reduce step one app to many In-Reply-To: Message-ID: <1554414368.152157.1368124093687.JavaMail.root@mcs.anl.gov> Hi Lorenzo, Swift is not yet able to map an array of files returned from an app whose size is not known before the app runs. We've discussed how to do this and hope to add such semantics in the future. In the meantime, the two techniques for doing this are: - return a tar file or similar archive from the app() that creates an unknown number of files - return a list of files from the app() The second technique works very nicely, especially if the entire script is being run on a single shared filesystem cluster like Beagle. In your example, app1() would return the list of files it produces as a single text file, and you then use that text file to map the array RGinfile[] using for example array_mapper. One way to get app1() to return the desired list of files is by wrapping it in a shell script that does a selective "ls" or "find" on its output directory. Another way, if you really dont want to create a wrapper, is to have app1() return an "external" variable, and then call an app() that uses an sh -c script to find the data. You'll need to make sure that app1() produces its output files in a persistent, known directory rather than in its temporary Swift-created "job dir" (which is the app's default current working directory when Swift runs it). That's another aspect that's easiest to deal with using a wrapper script around the actual application. I'll try post an example of this when time permits; another illustration is in the MODIS example program in the 2011 Swift paper from Parallel Computing. - Mike ----- Original Message ----- > From: "Lorenzo Pesce" > To: "Swift User Discussion List" > Sent: Wednesday, May 8, 2013 2:43:13 PM > Subject: [Swift-user] Issue with map reduce step one app to many > > This is more or less the step I would do. My problem is that I am not > sure how do I arrange the return of a set of files without > connecting them first and I can't connect them since they are not > made yet. > I could conceivably create a list first and use that, but I was > curious to know whether there is a shortcut. The files in the > intermediate step at least at this point are not important to us and > don't need to be tracked. > > file inbam; > file [] RGinfile; > file [] RGoutfile; > > > (RGinfile) app1(inbam); > > for file, idx in RGfile { > > (RGoutBAM)=app2 (file); > RGoutfile [idx]) = RGoutBAM ; > > } > > (BAM) = app3 (RGoutfile); > > _______________________________________________ > Swift-user mailing list > Swift-user at ci.uchicago.edu > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user > From lpesce at uchicago.edu Thu May 9 14:02:28 2013 From: lpesce at uchicago.edu (Lorenzo Pesce) Date: Thu, 9 May 2013 14:02:28 -0500 Subject: [Swift-user] Issue with map reduce step one app to many In-Reply-To: <1554414368.152157.1368124093687.JavaMail.root@mcs.anl.gov> References: <1554414368.152157.1368124093687.JavaMail.root@mcs.anl.gov> Message-ID: <9DB97742-1C66-407E-AF45-1D7BCA260D6E@uchicago.edu> What is I use a different fast method to determine how many files there will be (easy here since I have to read the header of the bam file and it will tell me how many it will spit out), read that file with readData and link the files into an array and then fed the array back? On May 9, 2013, at 1:28 PM, Michael Wilde wrote: > Hi Lorenzo, > > Swift is not yet able to map an array of files returned from an app whose size is not known before the app runs. We've discussed how to do this and hope to add such semantics in the future. > > In the meantime, the two techniques for doing this are: > > - return a tar file or similar archive from the app() that creates an unknown number of files > > - return a list of files from the app() > > The second technique works very nicely, especially if the entire script is being run on a single shared filesystem cluster like Beagle. In your example, app1() would return the list of files it produces as a single text file, and you then use that text file to map the array RGinfile[] using for example array_mapper. > > One way to get app1() to return the desired list of files is by wrapping it in a shell script that does a selective "ls" or "find" on its output directory. Another way, if you really dont want to create a wrapper, is to have app1() return an "external" variable, and then call an app() that uses an sh -c script to find the data. > > You'll need to make sure that app1() produces its output files in a persistent, known directory rather than in its temporary Swift-created "job dir" (which is the app's default current working directory when Swift runs it). That's another aspect that's easiest to deal with using a wrapper script around the actual application. This makes sense, but how do I tell swift to keep the correct execution order? How will the runs after the map step know that their files are ready? THey aren't in the return of any app, so wouldn't swift assume that they should be there already? > > I'll try post an example of this when time permits; another illustration is in the MODIS example program in the 2011 Swift paper from Parallel Computing. > > - Mike > > > ----- Original Message ----- >> From: "Lorenzo Pesce" >> To: "Swift User Discussion List" >> Sent: Wednesday, May 8, 2013 2:43:13 PM >> Subject: [Swift-user] Issue with map reduce step one app to many >> >> This is more or less the step I would do. My problem is that I am not >> sure how do I arrange the return of a set of files without >> connecting them first and I can't connect them since they are not >> made yet. >> I could conceivably create a list first and use that, but I was >> curious to know whether there is a shortcut. The files in the >> intermediate step at least at this point are not important to us and >> don't need to be tracked. >> >> file inbam; >> file [] RGinfile; >> file [] RGoutfile; >> >> >> (RGinfile) app1(inbam); >> >> for file, idx in RGfile { >> >> (RGoutBAM)=app2 (file); >> RGoutfile [idx]) = RGoutBAM ; >> >> } >> >> (BAM) = app3 (RGoutfile); >> >> _______________________________________________ >> Swift-user mailing list >> Swift-user at ci.uchicago.edu >> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user >> From wilde at mcs.anl.gov Thu May 9 14:59:48 2013 From: wilde at mcs.anl.gov (Michael Wilde) Date: Thu, 9 May 2013 14:59:48 -0500 (CDT) Subject: [Swift-user] Issue with map reduce step one app to many In-Reply-To: <9DB97742-1C66-407E-AF45-1D7BCA260D6E@uchicago.edu> Message-ID: <1769452546.218255.1368129588538.JavaMail.root@mcs.anl.gov> I think something like that might work well. - Mike ----- Original Message ----- > From: "Lorenzo Pesce" > To: "Michael Wilde" > Cc: "Swift User Discussion List" > Sent: Thursday, May 9, 2013 2:02:28 PM > Subject: Re: [Swift-user] Issue with map reduce step one app to many > > What is I use a different fast method to determine how many files > there will be (easy here since I have to read the header of the bam > file and it will tell me how many it will spit out), read that file > with readData and link the files into an array and then fed the > array back? > > On May 9, 2013, at 1:28 PM, Michael Wilde wrote: > > > Hi Lorenzo, > > > > Swift is not yet able to map an array of files returned from an app > > whose size is not known before the app runs. We've discussed how > > to do this and hope to add such semantics in the future. > > > > In the meantime, the two techniques for doing this are: > > > > - return a tar file or similar archive from the app() that creates > > an unknown number of files > > > > - return a list of files from the app() > > > > The second technique works very nicely, especially if the entire > > script is being run on a single shared filesystem cluster like > > Beagle. In your example, app1() would return the list of files it > > produces as a single text file, and you then use that text file to > > map the array RGinfile[] using for example array_mapper. > > > > One way to get app1() to return the desired list of files is by > > wrapping it in a shell script that does a selective "ls" or "find" > > on its output directory. Another way, if you really dont want to > > create a wrapper, is to have app1() return an "external" variable, > > and then call an app() that uses an sh -c script to find the data. > > > > You'll need to make sure that app1() produces its output files in a > > persistent, known directory rather than in its temporary > > Swift-created "job dir" (which is the app's default current > > working directory when Swift runs it). That's another aspect > > that's easiest to deal with using a wrapper script around the > > actual application. > > This makes sense, but how do I tell swift to keep the correct > execution order? How will the runs after the map step know that > their files are ready? THey aren't in the return of any app, so > wouldn't swift assume that they should be there already? > > > > > > > > I'll try post an example of this when time permits; another > > illustration is in the MODIS example program in the 2011 Swift > > paper from Parallel Computing. > > > > - Mike > > > > > > ----- Original Message ----- > >> From: "Lorenzo Pesce" > >> To: "Swift User Discussion List" > >> Sent: Wednesday, May 8, 2013 2:43:13 PM > >> Subject: [Swift-user] Issue with map reduce step one app to many > >> > >> This is more or less the step I would do. My problem is that I am > >> not > >> sure how do I arrange the return of a set of files without > >> connecting them first and I can't connect them since they are not > >> made yet. > >> I could conceivably create a list first and use that, but I was > >> curious to know whether there is a shortcut. The files in the > >> intermediate step at least at this point are not important to us > >> and > >> don't need to be tracked. > >> > >> file inbam; > >> file [] RGinfile; > >> file [] RGoutfile; > >> > >> > >> (RGinfile) app1(inbam); > >> > >> for file, idx in RGfile { > >> > >> (RGoutBAM)=app2 (file); > >> RGoutfile [idx]) = RGoutBAM ; > >> > >> } > >> > >> (BAM) = app3 (RGoutfile); > >> > >> _______________________________________________ > >> Swift-user mailing list > >> Swift-user at ci.uchicago.edu > >> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user > >> > > From iraicu at cs.iit.edu Thu May 9 17:03:51 2013 From: iraicu at cs.iit.edu (Ioan Raicu) Date: Thu, 09 May 2013 17:03:51 -0500 Subject: [Swift-user] Call for Participation - ACM HPDC 2013 Message-ID: <518C1D47.9030607@cs.iit.edu> Call for Participation - HPDC-2013 New York City, NY, June 17-21 Early registration is open! http://www.hpdc.org/2013 The ACM International Symposium on High-Performance Parallel and Distributed Computing (HPDC) is the premier annual conference for presenting the latest research on the design, implementation, evaluation, and the use of parallel and distributed systems for high-end computing. The 22nd HPDC conference and its seven associated workshops will take place at the New Yorker Hotel June 17-21, featuring a technical program covering various aspects of high-performance computing, three distinguished keynote speakers, and an industry session: Keynote speakers: Garth Gibson Professor of Computer Science at Carnegie Mellon University Co-founder of Panasas, Inc. David Shaw Chief scientist of D. E. Shaw Research Senior research fellow, Center for Computational Biology and Bioinformatics at Columbia University. Miron Livny Professor of Computer Sciences at University of Wisconsin-Madison Leader of the HTCondor project Technical Sessions: I/O and Data-Intensive Computing Networks Communication Checkpointing, Bugs and Errors Multicore and GPUs Virtualization and Clouds Industry session: Oscar Boykin - Twitter Blake G. Fitch - IBM Research (More to come..) Workshops: EEHPDC (energy) FTXS (fault tolerance) CLHS (HPC security) HPPN (networking) OrmaCloud (cloud computing) ScienceCloud (cloud computing) VTDC (virtualization) HPDC'13 Student Travel Grants Application Applications due by May 31st, 2013 http://www.hpdc.org/2013/registration/student-travel-grants/ General Co-Chairs Manish Parashar - Rutgers University Jon Weissman - University of Minnesota Program Co-Chairs Dick Epema - TU Delft Renato Figueiredo - University of Florida Posters Chair Ivan Rodero - Rutgers University Workshops Chair Abhishek Chandra - University of Minnesota -- ================================================================= Ioan Raicu, Ph.D. Assistant Professor, Illinois Institute of Technology (IIT) Guest Research Faculty, Argonne National Laboratory (ANL) ================================================================= Data-Intensive Distributed Systems Laboratory, CS/IIT Distributed Systems Laboratory, MCS/ANL ================================================================= Editor: IEEE TCC, Springer JoCCASA Chair: IEEE/ACM MTAGS, ACM ScienceCloud, IEEE/ACM DataCloud ================================================================= Cel: 1-847-722-0876 Office: 1-312-567-5704 Email: iraicu at cs.iit.edu Web: http://www.cs.iit.edu/~iraicu/ Web: http://datasys.cs.iit.edu/ LinkedIn: http://www.linkedin.com/in/ioanraicu Google: http://scholar.google.com/citations?user=jE73HYAAAAAJ ================================================================= ================================================================= From iraicu at cs.iit.edu Fri May 24 16:38:46 2013 From: iraicu at cs.iit.edu (Ioan Raicu) Date: Fri, 24 May 2013 16:38:46 -0500 Subject: [Swift-user] Call for Participation: ACM ScienceCloud 2013 @ HPDC 2013 Message-ID: <519FDDE6.2080204@cs.iit.edu> Call for Participation ** 4th Workshop on Scientific Cloud Computing (ScienceCloud) 2013 *Co-located with ACM HPDC 2013 * * New York City, NY, USA -- June 17th, 2013 ** http://datasys.cs.iit.edu/events/ScienceCloud2013/ Workshop Program * * *Date: June 17th, 2013 * * *Time: 9AM - 5PM* The workshop features a keynote talk by Dr. Ian T. Foster (UChicago/ANL), an invited talk by Radu Sion (Stony Brook), and 7 papers and oral presentations. For more information on the keynote and invited speakers, click here . Time Description Presenter Institution 9:00AM Opening Remarks 9:05AM Keynote -- Science as a Service: How On-Demand Computing Can Accelerate Discovery (Abstract , Slides) Ian T. Foster ANL UChicago 10:00AM Break Session 1: Applications and Services 10:30AM High Performance Risk Aggregation: Addressing the Data Processing Challenge the Hadoop MapReduce Way (Paper , Slides) A. Rau-Chaplin B. Varghese Z. Yao Dalhousie Univ. 11:00AM Performance Evaluation of a MongoDB and Hadoop Platform for Scientific Data Analysis (Paper , Slides) E. Dede M. Govindaraju D. Gunter R. Canon L. Ramakrishnan SUNY LBL 11:30AM VIDAS: Object-based Virtualized Data Sharing for High Performance Storage I/O (Paper , Slides) Pablo Llopis Javier Garcia Blas Florin Isaila Jesus Carretero Univ. Carlos III de Madrid 12:00PM Lunch Session 2: Cloud Services 1:30PM Invited talk -- To Cloud My Big Data or Not To? Musings at the Intersection of Big Data, Intense Computing andClouds (Abstract , Slides) Radu Sion Stony Brook 2:30PM StorkCloud: Data Transfer Scheduling and Optimization as aService (Paper , Slides) Tevfik Kosar Engin Arslan Brandon Ross Bing Zhang University at Buffalo 3:00PM Break Session 3: Technology and Infrastructure 3:30PM Rebalancing in a Multi-Cloud Environment (Paper , Slides) Dmitry Duplyakin Ali Alzabarah Paul Marshall Kate Keahey Henry Tufo Univ. of Colorado, Boulder ANL UChicago 4:00PM Dimensioning the Virtual Cluster for Parallel Scientific Workflows in Clouds (Paper , Slides) Daniel de Oliveira Vitor Viana Eduardo Ogasawara Kary Oca?a Marta Mattoso COPPE/UFRJ CEFET/RJ 4:30PM HTC Scientific Computing in a Distributed Cloud Environment (Paper , Slides) R.J. Sobie A. Agarwal I. Gable C. Leavett-Brown M. Paterson R. Taylor A. Charbonneau R. Impey W. Podiama Univ. of Victoria NRC Canada 5:00PM Closing Remarks ***** Invited speakers biographies: * * ** * * Keynote * Ian FosterDr. Ian t. Foster, Professor at Unviersity of Chicago, Director at Computation Institute, & Fellow at Argonne National Labotaroty Dr. Ian Foster is Director of the Computation Institute, a joint institute of the University of Chicago and Argonne National Laboratory. He is also an Argonne Senior Scientist and Distinguished Fellow, and the Arthur Holly Compton Distinguished Service Professor of Computer Science at University of Chicago. He is also involved with both the Open Grid Forum and with the Globus Alliance as an open source strategist. In 2006, he was appointed director of the Computation Institute, a joint project between the University of Chicago, and Argonne. An earlier project, Strand, received the British Computer Society Award for technical innovation. His research resulted in the development of techniques, tools and algorithms for high-performance distributed computing and parallel computing. As a result he is denoted as "the father of the Grid". Foster led research and development of software for the I-WAY wide-area distributed computing experiment, which connected supercomputers, databases and other high-end resources at 17 sites across North America in 1995. His own labs, the Distributed Systems Laboratory is the nexus of the multi-institute Globus Project, a research and development effort that encourages collaborative computing by providing advances necessary for engineering, business and other fields. Furthermore the Computation Institute addresses many of the most challenging computational and communications problems facing Grid implementations today. In 2004, he founded Univa Corporation, which was merged with United Devices in 2007 and operate under the name Univa UD. Foster's honors include the Lovelace Medal of the British Computer Society, the Gordon Bell Prize for high-performance computing (2001), as well as others. He was elected Fellow of the American Association for the Advancement of Science in 2003. Dr. Foster also serves as PI or Co-PI on projects connected to the DOE global change program, the National Computational Science Alliance, the NASA Information Power Grid project, the NSF Grid Physics Network, GRIDS Center, and International Virtual Data Grid Laboratory projects, and other DOE and NSF programs. His research is supported by DOE, NSF, NASA, Microsoft, and IBM. * Invited Speaker * Dr. Radu Sion, Associate Professor at Stony Brook University & CEO of Private Machines Inc. Radu Sion is an Associate Professor of Computer Science at Stony Brook University (on leave) and currently the CEO of Private Machines Inc. He remembers when gophers were digging through the Internets and bits were running at slower paces of 512 per second. He is also interested in efficient computing with a touch of cyber-security paranoia, raising rabbits on space ships and sailing catamarans of the Hobie variety. ** -- ================================================================= Ioan Raicu, Ph.D. Assistant Professor, Illinois Institute of Technology (IIT) Guest Research Faculty, Argonne National Laboratory (ANL) ================================================================= Data-Intensive Distributed Systems Laboratory, CS/IIT Distributed Systems Laboratory, MCS/ANL ================================================================= Editor: IEEE TCC, Springer JoCCASA Chair: IEEE/ACM MTAGS, ACM ScienceCloud, IEEE/ACM DataCloud ================================================================= Cel: 1-847-722-0876 Office: 1-312-567-5704 Email: iraicu at cs.iit.edu Web: http://www.cs.iit.edu/~iraicu/ Web: http://datasys.cs.iit.edu/ LinkedIn: http://www.linkedin.com/in/ioanraicu Google: http://scholar.google.com/citations?user=jE73HYAAAAAJ ================================================================= ================================================================= -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ian_Foster.jpg Type: image/jpeg Size: 12848 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Sion.jpg Type: image/jpeg Size: 33686 bytes Desc: not available URL: From trubetskoy at uchicago.edu Fri May 10 13:59:24 2013 From: trubetskoy at uchicago.edu (Vasily Trubetskoy) Date: Fri, 10 May 2013 18:59:24 -0000 Subject: [Swift-user] associative array append -- not implemented? misconfigured? Message-ID: Hi all -- I am starting work with swift, and am testing out some of the language features. I have copied the following from the user guide *int[auto] array; > foreach i in [1:100] { > append(array, i * 2); > } > foreach v in array { > trace(v); > }* into a file *append_test.swift, *which is run with the following command: /opt/swift-0.94/bin/swift append_test.swift This returns the error: *Could not start execution > Compile error in foreach statement at line 3 > Compile error in procedure invocation at line 4 > Procedure append is not declared.* Is the append feature not implemented in the stable branch? I have a specific application in mind where it would be very useful. Is this perhaps some misconfiguration in my installation? Please let me know if any additional information is required (system, tc or sites files, etc.). Otherwise, any help would be much appreciated! Version details: *Swift 0.94 swift-r6492 cog-r3658 (downloaded binary release)* * * Log dump: *2013-05-10 13:49:50,724-0500 DEBUG Loader arguments: [append_test.swift] > 2013-05-10 13:49:50,725-0500 DEBUG Loader Max heap: 954466304 > 2013-05-10 13:49:50,726-0500 DEBUG textfiles BEGIN SWIFTSCRIPT: > int[auto] array; > foreach i in [1:100] { > append(array, i * 2); > } > foreach v in array { > trace(v); > } > > 2013-05-10 13:49:50,726-0500 DEBUG textfiles END SWIFTSCRIPT: > 2013-05-10 13:49:50,726-0500 INFO Loader append_test.swift: source file > is new. Recompiling. > 2013-05-10 13:49:51,102-0500 DEBUG Loader Detailed exception: > org.griphyn.vdl.karajan.CompilationException: Compile error in foreach > statement at line 3 > at org.griphyn.vdl.engine.Karajan.foreachStat(Karajan.java:1001) > at org.griphyn.vdl.engine.Karajan.statement(Karajan.java:681) > at org.griphyn.vdl.engine.Karajan.statements(Karajan.java:641) > at org.griphyn.vdl.engine.Karajan.program(Karajan.java:314) > at org.griphyn.vdl.engine.Karajan.compile(Karajan.java:138) > at org.griphyn.vdl.karajan.Loader.compile(Loader.java:350) > at org.griphyn.vdl.karajan.Loader.main(Loader.java:171) > Caused by: org.griphyn.vdl.karajan.CompilationException: Compile error in > procedure invocation at line 4 > at org.griphyn.vdl.engine.Karajan.call(Karajan.java:886) > at org.griphyn.vdl.engine.Karajan.statement(Karajan.java:678) > at org.griphyn.vdl.engine.Karajan.statements(Karajan.java:641) > at org.griphyn.vdl.engine.Karajan.foreachStat(Karajan.java:993) > ... 6 more > Caused by: org.griphyn.vdl.karajan.CompilationException: Procedure append > is not declared. > at org.griphyn.vdl.engine.Karajan.call(Karajan.java:708) > ... 9 more* * * * * -- Vasily Trubetskoy Data Analyst, Cox Lab University of Chicago Chicago, IL 60637 -------------- next part -------------- An HTML attachment was scrubbed... URL: