torque

Submitting multiple jobs TORQUE/PBS

Hi, I'm trying to use a cluster for the first time so it's maybe a stupid question... I would like to run the same program with various parameters in an independant way on multiple nodes. Basically, I would like to compile and process various versions of the linux kernel (one node/one version and the version number is the parameter t...

Table join using multiple columns in torque 3.3

Hi there, Here is something I'm trying to achieve using Apache Torque (3.3): Table 1: id f_id start_position end_position Table 2: id f_id start end I need to do: select * from table1 inner join table2 on table1.f_id = table2.f_id and ( (table1.start_position <= table2.start and table1.end_position >= table2.end...

How to write subquery in Criteria

Hi there, I have a SQL like this: Select tbl.id, tbl.name From (select table1.id, table1.name from table1 inner join table2 on table1.id = table2.id order by table2.priority ) tbl group by table1.id order by table1.name What I'm tring to archieve is to first sort (order by table2.priority), and then get the record with table1.i...

Unity vs Torque game engines and IDE environment

I want to get people's opinion of Torque and Unity and their IDE tools. You build Torque games using one of their engines (I'm currently interested in the iPhone engine), and Torque Game Builder (the whole thing...engine plus TGB is ~$1000). You build Unity games using Unity (I think this is only ~$400). Would people with experience ...

What's the easiest way to persist java objects?

Right now I have java program whose classes are currently POJOs and stored in volatile memory. These need to be persisted. As I understand it two popular choices are JDO and the Java Persistence API. For someone who know little about SQL, Torque, etc, which is the easiest way to add persistence to my program's data? ...

Test MPI on a cluster

Hi, I am learning OpenMPI on a cluster. Here is my first example. I expect the output would show response from different nodes, but they all respond from the same node node062. I just wonder why and how I can actually get report from different nodes to show MPI actually is distributing processes to different nodes? Thanks and regards!...

J2EE Template Engine Recommendations?

Looking to expand a current J2EE project using JSTL and Apache Torque with some sort of template engine so we can easily modify the views. Any suggestions? ...

Hibernate vs. Apache Torque

Can anybody provide detailed advantages and disadvantages of each ORM? First of all I'm interested in things that Hibernate provides, and Torquay not. ...

one schema for propel and torque project

hi, I have a project consists of a java and a php application. The java application uses the torque-ORM and the PHP application uses the propel ORM. I have two schema.xml files for the same database. As far as I know propel is part of torque. Is it posible to use only one schema.xml for both projects? ...

How to reliably retrieve tables and columns information stored in Torque Criteria object

Hi there, Is there a way to retrieve tables, including alias tables, and columns, including alias columns, from an Apache Torque Criteria object reliably? I understand that there is methods like: getSelectedColumns, getAsColumns(), getJoins(), etc., but for examples, getJoins() will just return a list of joined tables strings in free t...

How to get Torque Criteria to use table aliases

Hey, I'm trying to create a query where I reference a table twice. I know how to do this in sql. It looks like this: SELECT t1.* FROM Table1 t1 LEFT JOIN Table1 t2 ON t1.ID = t2.OwnerID WHERE t1.Column1='ok' AND (t1.OwnerID = 0 OR t2.Column1='ok'); This will return all the elements of the table that are "ok" and ...

Game Engine usage for Normal iPhone apps

When the standard iPhone UI controls become too bland, and you want your simple score keeping app to pop a little more with colour, animation, non-standard GUI fonts, and background wallpaper, etc., would it make sense to integrate a game engine for such things? I've tinkered with Unity3D and Torque2D, and wonder if anyone has used them...